Markdown Viewer & Preview for Chrome
Open any .md file — on your Mac, your PC or the web — and read it like a real document.
With a table of contents, diagrams and dark mode built in.
Nothing you don’t. MD Viewer stays out of the way until you open a Markdown file.
Local files, web links, raw GitHub URLs, or files you drop in. README, docs and notes all just work.
A sidebar that follows you as you scroll. Expand or collapse any section, or hide it with T.
Flowcharts, sequence diagrams, Gantt charts and more — drawn right in the page, in light or dark.
Syntax highlighting for 30+ languages, with a one-click Copy button on every code block.
Follows your system, or pick a look. Tables, task lists and front matter are styled to match.
Everything is rendered on your device. No account, no tracking, nothing uploaded. Scripts are blocked.
New. Local file open? Click the folder icon to browse the folder around it — expand sub-folders, go up to the parent, and jump to any Markdown file.
New. Pick another file in the tree and it opens in place — no page reload, no flash. The tree keeps its folders open as you move around.
New. On big screens the document uses the full window, up to 1400 px — wide tables and code blocks finally have room.
Write ```mermaid and see the picture — not the code.

Eight short steps — from installing to reading your first file.
The
icon now stays next to the address bar.
Needed once, so .md files on your computer render automatically — and so the folder tree can list your files.
.md tab that is already open.Chrome requires you to switch this on yourself — extensions can’t do it for you.
Any of these works:
.md file onto a Chrome window or tab.Images next to the file (like ) load too when you open the file directly.

.md on GitHub (raw), Gist, GitLab, Bitbucket and Codeberg render as soon as you open them.If a site blocks access, MD Viewer shows an Allow access button — for that one site only.

.md file on any page.The document opens in a new tab, ready to read.
See the CONTRIBUTING.md guide.
Hover a heading and click # to copy a link to that section. Hover a code block to Copy it. The i icon at the far right opens this website.

Works when you open a local file (file://).
Only folders and Markdown files are listed. The tree stays as you left it while you move between files.
Show or hide the table of contents
Switch between rendered view and source
Close the sidebar on small windows
Open a local .md file, then click the folder icon next to the table-of-contents button. You get a tree of the folder around the file; click a folder to expand it, the up arrow to go to the parent, or a file to open it. It needs Allow access to file URLs (step 3) and only works for files on your computer.
Chrome doesn’t let a page change its address to a different local file, so the address bar may keep the first file’s path while the content, title and highlight show the file you picked. Reloading (F5) reopens the file named in the address bar.
Turn on Allow access to file URLs (step 3), then reload the tab. Chrome keeps this off for every extension until you switch it on.
That page is GitHub’s own website, not the Markdown file itself — MD Viewer leaves regular web pages alone. Paste the link into the MD Viewer popup (it is converted to the raw file automatically), or click Raw on GitHub.
Out of the box, only on Markdown files from your computer and from GitHub (raw), Gist, GitLab, Bitbucket, Codeberg and localhost — that is the “number of websites” Chrome mentions when you install. Want .md links on any other site to render too? Open the popup and turn on Render .md on all websites; Chrome asks for permission first, and you can turn it off at any time. Pasting a URL in the popup works for every site either way.
MD Viewer is a viewer and previewer. Edit the file in your favourite editor, then reload the tab to see the updated preview.
No. Files are read and rendered entirely in your browser. There is no account, no analytics and no server. See the privacy policy.
GitHub-style Markdown: headings, lists, task lists, tables, code blocks with highlighting, block quotes, images, links, strikethrough, YAML front matter and Mermaid diagrams. Embedded HTML is supported too, with scripts removed for safety.