Convert Markdown to PDF
Markdown is lovely to write and awkward to send. PDFSpark turns a .md file, a README, notes or pasted Markdown into a PDF with clean typography: headings, paragraphs, bold and italic, lists, quotes, code blocks, tables and working links, on A4 or Letter with the margins, typeface and text size you choose, plus page numbers. HTML works too. Nothing is fetched from the web, so pictures must be embedded in the HTML; CSS isn't applied. The preview updates as you change settings, and it all happens in your browser.
Your file is processed by your own browser and never uploaded. Most online tools send your file to their servers and delete it later — this one never receives it at all.
Why use Markdown to PDF
- Markdown headings, emphasis, lists, quotes, code blocks, rules and tables
- HTML files and pasted HTML, without running scripts
- Clickable links in the PDF
- A4 or Letter, portrait or landscape, narrow to wide margins
- Sans-serif or serif text at 10, 11 or 12 pt, with page numbers
- Pictures embedded in HTML as data: URLs
- Live preview of the first page
- Free, processed locally, never uploaded
Popular uses
- Share a README or documentation page as a PDF
- Print notes written in Obsidian, Joplin or another Markdown app
- Turn an answer written in Markdown into a tidy handout
- Save a simple HTML page you have as a file as a PDF
Markdown to PDF: frequently asked questions
Which Markdown features are supported?
Headings, paragraphs, bold, italic, strikethrough, inline code, fenced code blocks, links, bulleted and numbered lists (nested too), block quotes, horizontal rules and GitHub-style tables.
Can I convert HTML to PDF too?
Yes. Open an .html file or paste HTML and choose HTML as the format. Its structure (headings, paragraphs, lists, tables, links, quotes and code) is laid out with PDFSpark's typography; CSS styles and scripts are ignored, and nothing is loaded from the web.
Why are some pictures missing?
PDFSpark doesn't fetch anything from the internet or read other files on your computer, so pictures that point to a web address or a separate file are left out and counted. Pictures embedded in HTML as data: URLs are included.
Does it support languages other than English?
The PDF uses the standard PDF fonts, which cover English and most Western European languages. Characters they can't show, such as Chinese, Arabic or emoji, are left out and listed after the conversion.
Is my text uploaded?
No. The Markdown or HTML is read and laid out in your browser, and the PDF is made on your device.