Skip to content

How Markdown → PDF works

Write or paste Markdown and watch the styled preview update live. Choose a page size, orientation, and margins, set a filename, then tap Download PDF. On mobile, switch between Edit and Preview tabs and use the sticky Download button at the bottom. Drag and drop a .md file to load it.

Parses GitHub-flavored Markdown with react-markdown + remark-gfm (HTML is escaped, never injected), then renders an off-screen print document and generates the PDF with html2pdf.js at 2x canvas scale. The preview is theme-aware; the PDF is always print-clean.

Questions

Which Markdown features are supported?
Full GitHub-flavored Markdown: headings, bold/italic/strikethrough, inline and fenced code, links, images, blockquotes, horizontal rules, ordered/unordered/nested lists, task lists, and tables.
Can I change the page size or orientation?
Yes. Pick A4 or Letter, portrait or landscape, and narrow/normal/wide margins. You can also set the output filename.
Does dark mode change the PDF?
No. The on-screen preview follows the site theme, but the PDF is always rendered as dark text on a white page so it prints cleanly.
Is there a keyboard shortcut?
Yes. Press Ctrl+Shift+D (Cmd+Shift+D on Mac) to download the PDF without clicking the button.
Can I load a .md file from disk?
Yes. Drag and drop a .md or .txt file onto the drop area to load its contents into the editor.
What happens if PDF generation fails?
The tool falls back to the browser's native print dialog so you can still save the document as a PDF.

More Convert tools

All the tools · How to check that nothing is sent

Markdown to PDF Converter | Only in the Tab