MarkdownPaper Open reader

Markdown to PDF converter

Paste Markdown or open a .md file and download it as a PDF. Headings, tables, highlighted code, task lists, links, footnotes and Mermaid diagrams are laid out on real pages with page numbers, and the file is made in your browser, so nothing is uploaded.

Convert Markdown to PDF

PDF

Release notes

A short report with a link and a checklist:

  • Tables keep their alignment
  • Code keeps its colours
  • Ship on Friday
AreaOwnerStatus
ReaderAnaDone
ExportSamReview
const pages = await render('notes.md');

The PDF is made in this tab. Nothing is uploaded.

What the PDF looks like

The PDF is set in the same typefaces as the MarkdownPaper reader, Source Serif for the text and JetBrains Mono for code, embedded in the file so it looks the same on every computer. Only the letters the document uses are embedded, which keeps a long report to tens of kilobytes.

MarkdownIn the PDF
HeadingsSized titles, listed in the PDF's bookmarks, never stranded at the foot of a page
Code blocksColour highlighted for their language, on a tinted panel, every space kept
TablesAligned columns, with the header row repeated on every page
- [x] task listsTicked and empty boxes
LinksLinks you can click in any PDF viewer
[^1] footnotesNumbered notes at the end, each reference linked to its note
Mermaid diagramsDrawn as vector graphics, sharp at any zoom
> [!NOTE] calloutsLabelled panels, as on GitHub

Choose A4 or US Letter beside the button. The converter picks the one your language usually prints on.

When to print instead

Mathematics is the one thing the download does not typeset. KaTeX draws an equation for the screen, and the downloaded PDF keeps the equation as its LaTeX source instead. For a document with equations, choose Print instead: the document opens in the online Markdown viewer and the print dialog opens over it, where Save as PDF writes a file with every equation typeset.

Print dialogs vary by browser. For the closest result, leave scale at 100%, turn off the browser's own headers and footers, and keep the default margins.

An image goes into the PDF when its site allows other pages to read it. One that does not, and any image on your own computer, is kept as its description, linked to its address.

Try it on a hard document

The public sample Markdown file uses every feature at once: nested lists, wide tables, several languages of code, footnotes and a diagram. Download it, open it above, and check the PDF yourself rather than trusting a badge that says PDF is supported.

When the desktop app helps

The web converter is free and works now. The desktop app suits exporting the same project documents again and again, straight from the files on your computer.

Other conversions

For a Word document instead, use the Markdown to Word converter; for markup, the Markdown to HTML converter. Every converter is on the tools page.

Questions

Is the Markdown to PDF converter free?

Yes. There is no account, no watermark and no page limit.

Is my document uploaded?

No. The PDF is put together in this browser tab and saved straight to your computer. Nothing is sent to a server.

Does the PDF keep code highlighting?

Yes. Code is coloured for its language with the same theme the reader uses on its paper stock, and set in a monospaced typeface.

Can I convert Markdown with math to PDF?

Yes, with Print instead, which typesets every equation. The direct download keeps equations as their LaTeX source.