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.
| Markdown | In the PDF |
|---|---|
| Headings | Sized titles, listed in the PDF's bookmarks, never stranded at the foot of a page |
| Code blocks | Colour highlighted for their language, on a tinted panel, every space kept |
| Tables | Aligned columns, with the header row repeated on every page |
- [x] task lists | Ticked and empty boxes |
| Links | Links you can click in any PDF viewer |
[^1] footnotes | Numbered notes at the end, each reference linked to its note |
| Mermaid diagrams | Drawn as vector graphics, sharp at any zoom |
> [!NOTE] callouts | Labelled 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.