Convert Markdown to PDF
Write or paste Markdown and export a properly typeset PDF with working headings, lists, tables and links — as real selectable text, not a picture of the page. Conversion happens entirely in your browser.
Markdown to PDF
marked → real layout engine, not a screenshot
Loading tool…
How to convert Markdown to PDF
- Write or load Markdown. Type directly into the editor, paste existing Markdown, or load a .md file from your device.
- Choose a page size. Pick A4 or Letter.
- Convert. Markdown is parsed and laid out onto pages with proper wrapping and page breaks.
- Download. Save the PDF. Headings, lists and tables are real content, not an image.
Why this doesn't just screenshot a preview
The obvious way to build a Markdown-to-PDF converter in a browser is to render the Markdown as HTML, take a screenshot of that rendered page with a canvas library, and drop the screenshot into a PDF. It's the path of least resistance, and it's why a lot of free converters produce PDFs where you can't select a single word of text.
This tool parses Markdown into real structural content — headings, paragraphs, list items, table cells — and draws each piece into the PDF as actual text with an embedded font. Word wrapping, page breaks and table layout are computed properly rather than being whatever a screenshot happened to capture. The result can be searched, copied from, and indexed, and it's a fraction of the file size a rasterized version would be.
What's supported
Headings (# through ###), paragraphs, bold and italic text, bulleted and numbered lists including nesting, tables, and horizontal rules all convert cleanly.
- Code blocks and inline code render as plain text — syntax highlighting isn't preserved, since PDF has no equivalent concept.
- Images referenced in the Markdown are not currently embedded.
- Links become styled the same as regular text; the underlying URL isn't clickable in the output PDF.
Frequently asked questions
Will the PDF text be selectable?
Yes. Content is parsed and drawn as real text, not rendered to an image, so it's selectable, searchable and copyable in any PDF reader.
Can I load a Markdown file instead of typing?
Yes. Use "Load a .md file" to read an existing file straight into the editor before converting.
Is my document uploaded?
No. Parsing and PDF generation both happen in your browser.
Are code blocks syntax-highlighted?
No. They render as plain monospaced-style text — PDF doesn't have a native concept of syntax highlighting, and reproducing it would mean rasterizing the block, which this tool deliberately avoids.
What Markdown syntax is supported?
Standard CommonMark: headings, paragraphs, bold, italic, ordered and unordered lists (including nesting), tables, blockquotes and horizontal rules.
Does it support GitHub-flavoured extras like task lists?
Task list checkboxes render as their literal text rather than interactive checkboxes, since a PDF has no interactive form concept for that outside a real AcroForm field.