Markdown to PDF
Turn a .md file or pasted Markdown into a PDF: headings, bold and italic, lists, tables, code and quotes are laid out as a document, ready to share or print.
What Markdown to PDF lays out
The Markdown is read the way GitHub and most editors read it and laid out as a document: headings in steps of size, paragraphs, lists and tables, then written into a PDF as real, selectable text. Nothing in the file runs, and your file isn’t changed.
- Laid out
- Headings (# and underlined), bold, italic, struck-through and code text, bulleted, numbered and task lists nested up to four deep, quotes, fenced and indented code blocks, tables with their column alignment, rules.
- Kept as words
- Links keep their words; the address isn’t shown and can’t be clicked. HTML tags stay as typed, except <br>, which breaks the line.
- Pictures
- A picture written into the file itself (a data: address) is drawn. A picture from the web or another file isn’t fetched: its words stand in its place, and the result counts them.
- Limits
- One .md file up to 2 MB, or up to 1 MB of pasted Markdown.
How to convert Markdown to PDF
- Choose the .md file, or paste the Markdown. A README, notes from Obsidian or another editor, or an answer copied from a chat assistant.
- Pick the paper, font and spacing. Sans reads well on screen, Serif on paper; code blocks are set in a fixed-width font on a light gray band.
- Press Convert to PDF. Check the pages, then download the PDF or number its pages.
Examples
Its headings, install steps as a numbered list and the code blocks come out as a tidy document, with the code kept as typed.
Pasted in, the table gets its header row shaded and its columns aligned as the dashes and colons say.
Done items show a ticked box and open ones an empty box, nested under their headings.
Questions about Markdown to PDF
Why is my picture shown as words?
Its address points to the web or to another file. The tool doesn’t fetch anything, so the picture’s words take its place. To have it drawn, put the picture into the PDF afterwards with Edit PDF.
Does it read GitHub Markdown?
Tables, task lists, strikethrough and fenced code blocks are read as on GitHub. Footnotes, maths and diagrams are left as typed.
Is code coloured?
No. Code blocks are set in a fixed-width font on a light gray band, every space kept, in one colour.
Can I convert Markdown on a phone or Mac?
Yes. Paste the Markdown or choose the .md file, then press Convert to PDF; the PDF goes to Downloads. On a phone, pasting from a notes app is the quickest way in.
Price, account and uploads: the questions every tool shares.
Where your files go:Privacy