Markdown Viewer

Open a .md file or paste Markdown and read it rendered — GitHub styling, callouts, math, diagrams and code highlighting, with a heading outline, five reading styles and one-click export. Nothing is uploaded.

Markdown Viewer

Drop a .md file anywhere on this panel, or paste Markdown below, and read it
rendered the way GitHub, Obsidian and VS Code render it.

What renders here

  • Tables, task lists, footnotes and strikethrough
  • Fenced code blocks with syntax highlighting for 190+ languages
  • GitHub-style callouts, KaTeX math and Mermaid diagrams

Code

function greet(name) {
  return `Hello, ${name}!`;
}

Table

Name Role Status
Alice Developer Active
Bob Designer Away

Task list

  • Open a file
  • Read it
  • Save it as PDF

Math

Inline math works with E=mc^2.

a^2 + b^2 = c^2

Diagram

flowchart LR A[Open .md] --> B[Read] B --> C[Export]

TIP

Switch to Split to see the source and the rendered document side by side,
with the two panes scrolling together.

Visit MarkdownTools for the rest of the toolkit.

177 words1,003 characters7 headings1 min readRendered in your browser — nothing is uploaded. Drop a .md file anywhere to open it.

What this Markdown viewer does

Opens files without uploading them

Drag a .md file onto the page and it is read by your browser with the File API. Nothing is sent to a MarkdownTools server, which matters for work notes and private vault files.

Reads like a document, not a text box

The rendered pane uses a measured line length and a paper background, so a long README is comfortable to read rather than stretched across a 27-inch monitor. Full width is one click away.

Heading outline with jump-to

Every heading down to level three becomes a clickable entry in the sidebar, so you can navigate a long specification without scrolling through it.

Synced split view

In Split mode the source and the rendered document scroll together, so you can find the syntax that produced a particular block.

Full GitHub Flavored Markdown

Tables, task lists, footnotes, strikethrough, autolinks, and fenced code blocks with syntax highlighting for 190+ languages via highlight.js.

Math, diagrams and callouts

KaTeX renders inline and display math, mermaid code blocks render as diagrams, and blockquotes such as > [!NOTE] render as GitHub documentation callouts.

Five reading styles

GitHub, Notion, Academic, Brief and Terminal — the same five themes the PDF exporter uses, so what you read is what you print.

Export without a round trip

Copy or download the Markdown, copy or download standalone HTML with working heading anchors, or print the rendered document straight to PDF.

How to open a .md file on any device

A .md file is plain text, so every operating system will happily open it — in the wrong program. Windows hands it to Notepad, macOS to TextEdit, and both show you the raw syntax: literal ## in front of headings, asterisks around bold text, and a wall of pipe characters where a table should be. That is the file working correctly; it just is not being rendered.

Rendering it normally means installing something — VS Code with the built-in preview, Obsidian, Typora, or a browser extension. If you only need to read the file once, drop it on the viewer above instead. The browser reads the file locally, renders it with the same GitHub Flavored Markdown rules those editors use, and you can close the tab when you are done. That works identically on a work laptop where you cannot install software, on a phone, and on a Chromebook.

The most common files people need to read this way are README.md from a cloned repository, notes exported from Obsidian or Notion, changelogs, and answers copied out of ChatGPT or Claude — which are written in Markdown even when the chat window hides it. All of them render here, including the tables and code blocks that plain-text editors destroy.

Frequently Asked Questions

How do I open a .md file online?

Drag the file onto the viewer above, or click Open .md file and pick it. The file is read locally by your browser and rendered immediately — there is no upload, no account, and no size limit beyond the 1 MB guard that keeps the page responsive.

Can I view a Markdown file without installing anything?

Yes. This viewer is a web page, so any modern browser on Windows, macOS, Linux, iOS or Android can open and render a Markdown file with it. That is usually faster than installing VS Code, Obsidian or a Markdown extension just to read one README.

Is my file uploaded anywhere?

No. Opening a file uses the browser File API, and rendering, exporting and printing all run in the page. Open your browser Network tab while you drop a file in — no request carries the content.

What is the difference between the viewer and the editor?

The viewer is for reading a document you already have: outline navigation, reading styles, and export. The Markdown editor is for writing one — it adds syntax-highlighted source, working spell check, find and replace, keyboard shortcuts, autosave and twelve export destinations.

Which Markdown flavour does the viewer render?

GitHub Flavored Markdown: tables, task lists, strikethrough, autolinks and fenced code blocks, plus GitHub-style alert callouts, KaTeX math and Mermaid diagrams. Raw HTML in the source is sanitised before it is rendered.

Can I turn the file into a PDF?

Yes. Save as PDF prints the rendered document — not the page around it — using the reading style you picked, so headers, tables and code blocks keep their formatting. For page sizes, margins, templates and a table of contents, use the dedicated Markdown to PDF converter.

Does the viewer work offline?

After your first visit, yes. The site registers a service worker, so the viewer keeps loading and rendering local files when you are offline.

Related Tools