Markdown to PDF
Paste your markdown, check the preview, then save it as a PDF. It uses your browser's print dialogue with a stylesheet built for paper, so you get the document and not a screenshot of a website.
The result appears here as you type.
How it works
- Your markdown is rendered exactly as the viewer renders it.
- Save as PDF opens your browser's print dialogue with a print stylesheet: white background, readable type sizes, no site chrome.
- Code blocks, tables and blockquotes are kept off page breaks where possible, and links print as plain text rather than blue underlines.
- Choose “Save as PDF” as the destination in the dialogue. Every modern browser has it.
What it does not do
- Page size, margins and whether headers and footers appear are your browser's settings, not this page's. Turn off “Headers and footers” in the print dialogue if you do not want the URL on every page.
- Mermaid diagrams print as drawn on screen. Very wide ones are scaled to the page width.
Questions
Is my markdown uploaded?
No. The conversion runs in your browser with code that is already part of this page. There is no upload endpoint on this site, so the file cannot reach us even in principle. Open your browser's network tab and watch: no request carries your document.
Why not a real PDF generator?
Because your browser already contains an excellent one, and using it means no library to download and no file to send anywhere. The print dialogue also lets you pick the paper size and margins, which a fixed generator would decide for you.
Can I get the same result for a .md file on my disk?
Yes. Open it in the viewer, then use Save as PDF there. Same stylesheet, same result.