Skip to content
Aarrange

Markdown Viewer

Open a .md file and read it as a page, the way GitHub shows it, with tables, math and diagrams. Nothing leaves your browser.

0
Words
0
Min read
0
Issues
Input
Tab types a tab. Press Escape, then Tab, to leave the editor.
Result
Open a .md file or drop it on the page to read it here.Try , or .
On this page

About the Markdown Viewer

Updated

A README, a changelog, docs from a project or notes from an app: open the .md file here and read it as a page. The source stays next to the page (above it on a phone), so you can fix a typo, and the page changes at once. To write more than a line or two, the Markdown Editor gives the source more room.

How to use it

  1. Click Open file, drop a file on the page, or paste Markdown.
  2. Read it in Preview. Scroll the source, and the page scrolls with it.
  3. Open Summary for the word count and reading time, and Notes for links and headings that will not work.
  4. Click Print or PDF to save the page as a PDF, or open HTML and click Download.

What it shows

  • Headings, lists, links, images, quotes and code blocks, as on GitHub.
  • Tables, task lists, strikethrough and footnotes.
  • Math between $ signs, drawn with KaTeX, and diagrams in mermaid code blocks, drawn with Mermaid.
  • GitHub alerts such as > [!TIP], and emoji codes such as :tada:.
  • Front matter at the top of a docs or blog file, as a small table and not as a heading.

Safe to open

A Markdown file can hold HTML, and HTML can hold a script. The viewer takes out scripts and event attributes, and it draws the page in a frame where no script can run. One of the five viewers we tested ran a script from the file.

What is an MD file?

An .md file is a text file written in Markdown. Marks such as # for a heading, * for a list and [text](address) for a link tell a viewer how to draw the page. Projects use a README.md as their front page, and docs sites, wikis and note apps keep their pages in .md files. The same files also end in .markdown, .mdown or .mdx.

Markdown resources

Markdown Viewer FAQ

How do I open an MD file?

Click Open file and pick the file, or drop it on the page. It shows at once as a page, next to the source. An .md file is plain text, so any text editor opens it too, but you then see the marks (#, **, |) and not the page.

Is my file uploaded?

No. The file is read by your browser and stays on your computer. Nothing is sent to a server, and there is no account. The page loads images from other sites by default, so for those only the image address goes out. Switch off Load outside images in the Result header to stop that.

Will it look the same as on GitHub?

Very close. The viewer follows GitHub Flavored Markdown and draws GitHub's extras: alerts, footnotes, task lists, math and Mermaid diagrams. Links to files in the same repository (docs/setup.md) do not open here, because the viewer has only the one file.

Can I view a Markdown file in Chrome without an extension?

Chrome shows a local .md file as plain text. To see the page, open this viewer and drop the file on it. It works the same in Chrome, Edge, Firefox and Safari, and on a phone.

How do I convert Markdown to PDF?

Open the file, click Print or PDF under the preview, and choose Save as PDF as the printer. Code blocks, tables and diagrams stay on one page where they fit.

Can it open large files?

Yes. The viewer draws a big file in parts: the first screen shows at once, and the rest follows while you read. A 5 MB file does not freeze the page. Other online viewers we tried stopped for more than 45 seconds on the same file.