Open PDF Toolkit

Convert Markdown to PDF

Free, no sign-up, no credit card. Your files stay on your device.

Pictures can be PNG or JPG files added with the Markdown. A picture given as a web address can't be fetched, because nothing leaves your device.

Page size
Margins
Text size

How to convert Markdown to a PDF

  1. Paste your Markdown into the box, or add .md, .markdown, or .txt files. Add the PNG or JPG pictures they use too.
  2. Choose the page size, margins, and text size.
  3. Select Make PDF.
  4. Download the PDF. Several files come as separate PDFs in a zip.

What to know

What turns into what
Headings, paragraphs, bold, italic, strikethrough, inline code, code blocks, bulleted, numbered, and task lists (nested as deep as you like), block quotes, horizontal rules, links, and tables. Code blocks are set in a fixed-width font on a shaded background. Table cells wrap, and the columns share the page width.
Real text
Everything is drawn as text, so you can select it, search it, and copy it out of the PDF. English and Western European text uses the standard Helvetica and Courier fonts, which add almost nothing to the file. Greek, Cyrillic, and other Latin letters use Liberation Sans, which is put into the PDF and adds about 140 KB for each style used.
Pictures
Add PNG or JPG files together with your Markdown. A picture is matched by its file name, so ![logo](images/logo.png) uses the file named logo.png. Pictures written into the Markdown as data addresses work too. A picture given as a web address can't be fetched, because nothing you add leaves your device. The PDF shows its description in its place, and the result lists which pictures were left out.
Links
Links to web addresses and email addresses are clickable in the PDF. A link to another file or to a heading in the same document is shown as ordinary text.
Page breaks
A heading is kept on the same page as the text after it, a paragraph never leaves a single line alone at the top or bottom of a page, and a table row is never split across two pages.
What isn't included
Code isn't coloured by language, maths isn't typeset, and HTML tags in the Markdown are ignored while the text inside them stays. Letters that no font here can write, such as emoji, show as a question mark, and the result lists them.

Common problems

My picture doesn't appear.
Check that the file is a PNG or JPG, that you added it together with the Markdown, and that its name matches the one in the Markdown. A picture given as a web address can't be fetched. Save it, then add the file here.
Some characters show as a question mark.
No font here has those characters, which is the case for emoji and some rarer scripts. Replace them with plain text, or use Add text to PDF afterwards for a short phrase in a supported alphabet.
A long word or web address runs out of its table cell.
The word is broken across lines to fit. Choose Narrow margins, US Letter, or fewer columns to give the table more room.
I only need part of the PDF.
Pull out the pages with Split PDF, or join several results with Merge PDF.

Questions

Are my files uploaded anywhere?

No. Your files stay on your device the whole time. They're never uploaded.

Is it free?

Yes. There's no sign-up, no watermark, and no limit on how often you use it.

Can I select and search the text in the PDF?

Yes. The text is real text, not a picture of it.

Can I use pictures from the web?

Not by address. A page that can't send anything anywhere can't fetch a picture either. Save the picture, then add the file with your Markdown.

Does it work with .txt files?

Yes. A text file is read as Markdown, so blank lines separate paragraphs and any Markdown in it is applied.

Can I turn a PDF back into Markdown?

Yes, with PDF to Markdown. The layout is guessed from the text, so check the result.