Open an MD File Online

An .md file is a plain-text Markdown document — a README, a set of notes, a CLAUDE.md. Drop it on this page and it opens as a readable, formatted document on Windows, Mac, Linux, iPhone or Android. No app to install, no account, and the file never leaves your device.

Free · no sign-up · runs in your browser, nothing is uploaded

Reading mode with the outline sidebar, Claude theme and serif typography
Reading mode with the document outline, here in the Claude theme with serif body text.

What is an .md file?

A file ending in .md (or the longer .markdown) is a text document written in Markdown. You can open it in any text editor and read every character, because there is nothing hidden in it — no fonts, no layout data, just text with a few symbols. A line starting with # is a heading, **word** is bold, a dash starts a list item, and rows of pipes form a table. Programs that understand the syntax draw the formatted result.

That simplicity is why .md files are everywhere: the README.md at the root of nearly every code repository, CHANGELOG.md, documentation folders, blog posts and notes apps — and, more recently, the instruction and plan files that AI coding tools read and write, such as CLAUDE.md and AGENTS.md (see the CLAUDE.md viewer).

How to open an MD file on Windows, Mac, Linux and phones

Any text editor opens an .md file, but what you get is the raw source. To see the formatted document you need a Markdown viewer — and an online one saves you from installing anything:

You can also paste Markdown text straight into the editor — handy for answers copied from a chat window, where tables and code otherwise turn into a mess of symbols.

What you see once the file is open

The viewer renders GitHub-Flavored Markdown — headings, emphasis, links, images, lists, task lists, tables, strikethrough and footnotes — plus the extras technical documents use: fenced code blocks with syntax highlighting for 50+ languages and a copy button, GitHub-style alerts (> [!NOTE]), collapsible <details> sections, YAML front matter, Mermaid diagrams and KaTeX math. The outline sidebar lists every heading with the current one highlighted, so long files are easy to navigate, and you can choose among 16 light and dark themes, three font families, four text sizes and four page widths.

Documents you open are kept in your browser's local storage, so the file is still there when you come back — and gone when you click New or clear your site data.

Edit, convert or share the file

Switch from Preview to Split layout and the same file becomes a live editor: a formatting toolbar, shortcuts, list continuation and line-accurate scroll sync between source and preview. A browser page cannot overwrite the original file on your disk, so Export → Download .md saves your changes as a new file for you to move into place.

From the same view you can Download .html for a standalone styled page, Print / Save as PDF for a PDF, or Share to get a link that carries the whole document in its address — nothing is stored on a server, and anyone with the link sees exactly that text, so do not share files that contain secrets.

Privacy: the file stays on your device

Opening a local file does not send it anywhere: your browser reads it, renders it with JavaScript running on the page, and keeps it in localStorage. The only server request the app can make is the optional From URL fetch, which asks this site to download a public Markdown address for you because browsers block that across sites; the fetched text is passed straight back and is not stored or logged. Read more on the privacy page, or go straight to the Markdown viewer for every rendering feature.

See it in action

Markdown Viewer on a phone in reading mode with the bottom action bar
On phones the viewer becomes a single-pane reader with a bottom bar for Edit, Read, Outline and More.
Syntax-highlighted TypeScript, Python, Bash and diff code blocks with language labels and copy buttons
Code blocks get a language label, syntax highlighting for 50+ languages and a copy button — this is the One Dark theme.
GitHub-style Note, Important, Warning and Caution alerts, a quote and a collapsible details section in the GitHub Dark theme
GitHub-style alerts, blockquotes and collapsible <details> sections, in GitHub Dark.
The theme picker showing 16 light and dark themes with colour swatches
Sixteen themes, each with its own syntax palette — or follow the system light/dark setting.

How it works

  1. 1
    Click Open file… (or drag the .md file onto the page, or paste its text, or enter a link to it).
  2. 2
    Read it rendered: headings, lists, tables, code, diagrams and formulas — with an outline to jump around.
  3. 3
    Edit it if you like, then download the .md, export HTML, or print to PDF.

What you get

Works on every system

Windows, macOS, Linux, ChromeOS, iOS and Android — anything with a modern browser.

Opens .md, .markdown, .mdx and .txt

File picker, drag and drop, paste, or an address — GitHub and Gist links are converted to the raw file.

Rendered, not raw

Tables, task lists, code with syntax colours, Mermaid diagrams and KaTeX math instead of stray symbols.

Nothing is uploaded

The file is read by your browser and kept in its local storage. No account, no server copy.

Edit and save back as .md

A split editor with live preview; Download .md saves your changes as a new file.

Convert when you need to

Export a standalone HTML page, or print to PDF from the same view.

Frequently asked questions

What is an .md file?
An .md file is a text file written in Markdown, a lightweight markup syntax created in 2004 by John Gruber. Symbols such as # for headings, ** for bold and | for tables describe the structure, and a Markdown viewer turns them into a formatted page. README.md on GitHub is the best-known example.
How do I open an MD file on Windows?
Windows has no built-in app that renders Markdown — double-clicking usually opens Notepad or asks which app to use, and you see the raw source. To read it formatted, open this page and drop the file onto it, or use Open → Open file….
How do I open an MD file on a Mac?
TextEdit and Quick Look show the plain-text source. For the formatted version, open this site in Safari or Chrome and use Open → Open file… or drag the file onto the window. If the file sits in a hidden folder such as .claude, press Cmd+Shift+. in the file dialog to show hidden items.
Can I open an MD file on my phone?
Yes. Open this site in your phone browser, tap More → Open file…, and choose the file from your Files app or downloads. The layout switches to a single reading pane with a bottom bar. If your phone will not offer the file, copy its text and paste it into the editor.
Is it safe to open an .md file?
A Markdown file is plain text, and this viewer cleans any inline HTML before showing it, so scripts and event handlers inside a document are removed. The file is processed in your browser and is not uploaded.
Why does my .md file look like a game ROM or fail to open?
The .md extension is also used by Sega Mega Drive / Genesis ROM images. If your file is a ROM, this tool is not for it — it only reads Markdown text. Files over 5 MB are refused when opened from disk.
What is the difference between .md, .markdown and .txt?
They are all plain text. .md and .markdown are two extensions for Markdown; .txt is a generic text file that may or may not contain Markdown. The viewer renders any of them as Markdown.

Related tools

Ready when you are

Paste Markdown, drop a file, or open a URL — the preview appears instantly and everything stays on your device.

Open Markdown Viewer