Markdown to PDF

Convert Markdown to PDF

Write notes, a README or documentation in Markdown and get a PDF you can send or print. Bold text, links, nested and task lists, code blocks and tables are laid out for you, longer documents get page numbers, and the text stays selectable. Images referenced in the file appear as their description, and non-Latin scripts are replaced with a question mark.

Also known as MD to PDF, Markdown to PDF converter and convert README to PDF.

  1. Choose a .md, .markdown or .txt file.
  2. Pick A4 or Letter as the page size.
  3. Select Convert to PDF and download it.

Read the Markdown to PDF guide

Markdown to PDF: questions and answers

How do I convert Markdown to PDF?

Choose a .md, .markdown or .txt file, pick A4 or Letter as the page size, and select Convert to PDF. Headings, lists, code blocks, quotes and simple tables are laid out for you, and the text in the PDF stays selectable.

Which Markdown features are supported?

Headings, paragraphs, bold and italic text, links, lists including nested and task lists, quotes, code blocks, rules and simple tables. Documents longer than one page get page numbers. Very wide tables shrink their columns to fit the page, and table rows aren’t split across pages.

Can I convert an HTML file or a web page to PDF?

No. HTML files and web addresses aren’t supported, because superPDF doesn’t fetch web pages. Raw HTML written inside a Markdown file is shown as plain text rather than laid out. If your content is in a Word document instead, Word to PDF converts .docx and .odt files.

Why do images show as text in my Markdown PDF?

Images can’t be loaded from a single Markdown file, so each one appears as its description, for example [Image: diagram]. If you need the pictures in the document, convert the Markdown first, then add the JPG or PNG images as extra pages with Merge PDF.

Why are some characters replaced with a question mark?

The PDF uses the standard Helvetica and Courier fonts, which cover Latin alphabets only. Emoji and other scripts, such as Chinese, Arabic or Cyrillic, are replaced with a question mark, and superPDF tells you how many characters were replaced so you can check the result.

Related tools