NanoFile

Markdown viewer

Drop a .md file in and read it the way it was meant to look. It renders here in your browser, so the file never leaves your machine.

Untitled document

Your document appears here

Paste markdown on the left, drop a file anywhere on this page, or open one.

Your file stays in this browser. Nothing is uploaded.

How it works

  1. 1

    Open the file

    Drag a .md file onto the page, pick one from your disk, or paste markdown straight from your clipboard.

  2. 2

    Read it rendered

    Headings, tables, task lists, code and diagrams appear the way GitHub would show them. Switch between light, sepia and dark.

  3. 3

    Take it with you

    Save it as a PDF, copy the HTML, or download the markdown back. Nothing was uploaded to do any of it.

What it renders

  • GitHub-flavoured markdown

    Tables, task lists, strikethrough and autolinks, the way you already write them.

  • Front matter

    YAML between --- fences becomes a tidy metadata card instead of a stray heading and a horizontal rule.

  • Code with highlighting

    Fenced blocks are highlighted for around 40 languages, loaded only after your document is already on screen.

  • Mermaid diagrams

    Flowcharts and sequence diagrams are drawn on demand, and only for documents that actually contain one.

  • Three reading themes

    Light, sepia and dark, remembered for the next time you open the page.

  • More than markdown

    .md, .txt, .json, .yml, .toml, .csv, plus files without an extension such as README, LICENSE and CHANGELOG.

Your file stays in your browser

Most online markdown viewers send your document to a server to render it. This one does not, because it does not have to. The parser runs inside this page, so your file is never transmitted. Open your browser's network tab and check for yourself: no request carries your document.

  • No upload, no server, no account.
  • No cookies. The analytics are cookieless and count page views, not people.
  • Your last document is remembered in this browser only, and the Clear button removes it.

What is a .md file?

A .md file is a plain text file written in Markdown, a way of marking up text with characters that stay readable: # for a heading, ** for bold, - for a list item. John Gruber designed it in 2004 with exactly that goal, so the raw file still makes sense when nothing renders it.

That is why it turns up everywhere now: README files on GitHub, notes in Obsidian, documentation, changelogs, and the CLAUDE.md and AGENTS.md files that coding agents read. The catch is that double-clicking one usually opens a text editor full of raw symbols, or an app that offers to import it into a library you did not ask for. That is the gap this page fills.

Questions

How do I open a .md file?

Drag it onto this page. You can also use Open file to pick one from your disk, or paste markdown from your clipboard. There is nothing to install and no account to create.

Is my file uploaded anywhere?

No. The rendering happens in your browser, with code that is already part of this page. You can verify it in your browser's network tab: no request carries your document.

Can I edit the markdown here?

Yes. The left pane is a live editor and the preview follows as you type. Use Download .md to keep your version, because your work lives only in this browser.

Can I turn markdown into a PDF?

Use Save as PDF. It opens your browser's print dialogue with a stylesheet that prints the rendered document only, so you get a clean page instead of a screenshot of this website.

Does it support GitHub-flavoured markdown?

Yes: tables, task lists, strikethrough, autolinks and fenced code blocks. Mermaid diagrams and YAML front matter work as well.

Does it work offline?

Once the page has loaded, rendering needs no network. The syntax highlighter and the diagram library are fetched the first time they are needed, so open the page once while online if you want those.

What can I open besides .md?

.markdown, .mdx, .mdc, .txt, .json, .yml, .toml, .csv, and files without an extension such as README, LICENSE and CHANGELOG. Data files are shown as formatted code.

An iOS app is on the way

Not available yet

NanoFile is being built as an iPhone and iPad app too, for the moment a .md file arrives in Mail, Slack or Files and there is no decent way to read it. It is not in the App Store yet, so there is nothing to download from this page. The viewer above already works.