Markdown to PDF
Paste your Markdown and pick PDF from the Download as menu for a real PDF file — headings, tables, code blocks, blockquotes, and Chinese text all render correctly, in the theme of your choice.
Runs entirely in your browser — files never leave your device.
“Download as → PDF” generates a real PDF file entirely in your browser — no upload, no server round-trip. Pick a theme above to change the colors used across both export formats.
How it works
- 01Paste or upload your Markdown, click Sample to try it with a realistic doc, or use "Open from URL" to load Markdown from the web (e.g. a GitHub raw link).
- 02Pick a color theme from the dropdown — the preview and both download formats use the same colors.
- 03Click "Download as" → "PDF" to save a real PDF file directly — no print dialog, no extra clicks.
- 04Prefer a plain .html file instead? Pick "HTML" from the same "Download as" menu.
Frequently asked questions
Is this Markdown to PDF converter really free?
Yes. There's no account, no watermark, and no page limit. The PDF is generated entirely in your browser using the open-source pdfmake library, so there's no server cost to pass on.
Does my Markdown ever leave my device?
No. Parsing, rendering, and PDF generation all happen entirely client-side in JavaScript — nothing is uploaded to a server at any point. Two things do make direct browser requests, not a server relay: using "Open from URL" to fetch a remote file, and fetching any remote images your Markdown embeds so they can be included in the PDF.
Does the PDF download open a print dialog?
No — picking "PDF" from the "Download as" menu saves a real PDF file directly, the same way any other download on this site works. If you'd rather use your browser's own print-to-PDF (or an actual printer), download the PDF first and print it from your PDF viewer — that produces an equivalent result.
Is the text in the PDF selectable and searchable, or is it an image?
It's real text, not a rasterized image — you can select, copy, and search it in any PDF viewer, including Chinese text (this tool embeds a subsetted, open-source Chinese font so headings and body text in Chinese render correctly, not as empty boxes).
Can I change the PDF's colors?
Yes — pick any of the site's built-in color themes from the dropdown above the editor. The chosen theme's text, link, border, and background colors are baked into both the PDF and HTML downloads, not just the on-page preview.
Does it support tables, code blocks, nested lists, and links?
Yes — GitHub-flavored Markdown tables, fenced code blocks, nested ordered and unordered lists, blockquotes, and clickable links all render correctly in the preview and the final PDF.
Are images embedded in the PDF?
Yes — PNG, JPEG, GIF, WEBP, and SVG images (including ones loaded from a URL) are fetched and embedded directly in the PDF, scaled to fit the page width. A remote image can fail to embed if its host blocks cross-origin requests (CORS), the link is broken, or it times out — you'll see a non-blocking notice with a count, and each of those images becomes a clickable link to the original instead. Everything else in your document still exports normally.
I need an editable Word document instead of a PDF — what should I use?
Use the Markdown to Word converter, which generates a real .docx file you can edit, rather than a fixed PDF.