Add to Chrome

Markdown to PDF

Make a paginated PDF from Markdown notes, a README or technical documentation.

PDF tool

Convert Markdown to PDF

Drop a Markdown file here

or click to choose from your computer

MD, MARKDOWN

✓ Local processing in your browser · Files are not uploaded to our servers

About Markdown to PDF conversion

Markdown is easy to edit in a text editor, but a PDF is easier to hand out or print. This converter turns common Markdown syntax into a page layout while keeping the document text selectable.

Headings, lists, blockquotes, code blocks and pipe tables get their own formatting. Standard web and email links remain clickable. Choose A4 or US Letter before you download.

The tool does not fetch embedded images or execute raw HTML. Images are represented by their alt text or a placeholder. Custom fonts and HTML styles from a particular Markdown editor are not carried over.

Keep the Markdown file as the editable master and export a new PDF whenever the text changes. Before printing, check the downloaded PDF for awkward page breaks in long tables or code samples.

How to convert Markdown to PDF

Illustration of opening a MD file
01

Open a Markdown file

Select or drop a UTF-8 .md or .markdown file, or find a saved one under Your Library.

Illustration of the Markdown to PDF conversion
02

Review the source and choose paper

Check the preview to make sure you have the right notes, then pick A4 or US Letter.

Illustration of the PDF download
03

Download the typeset PDF

Save the PDF and check the heading, table and code layout before you share it.

Markdown and PDF formats

What is a Markdown file?

A Markdown file (.md or .markdown) is plain text with simple symbols for structure: for example, # marks a heading and a hyphen starts a list item. You can edit it in any text editor and use a Markdown renderer to turn that structure into a formatted document.

What is a PDF file?

PDF stores a laid-out document on fixed-size pages. The converted text stays selectable, but the reader sees the formatted headings, lists and tables rather than the Markdown syntax used to build them.

Frequently asked questions

Can I select text in the PDF?

Yes. The PDF contains selectable text rather than screenshots of the source. You can search the result or copy a passage without having to go back to the source file.

Do pictures embedded in Markdown appear?

Only as their alt text or a placeholder. The tool does not fetch remote images or read image files next to the Markdown file. Write descriptive alt text in the source so that the reference still makes sense without the image.

Are GitHub-style tables and fenced code blocks supported?

Yes. Common pipe tables and fenced code blocks are formatted. The export does not add syntax highlighting. Use a header row and separator row for a pipe table. Keep code lines short if the PDF is meant to be read on a narrow page.

Can I convert a Markdown file containing HTML?

Yes, but raw HTML appears as literal text rather than being rendered as a web page. Use Markdown headings, lists and links instead of HTML when you want the converter to format those elements.

Should I choose A4 or US Letter?

Choose the size your recipients plan to print on: A4 is standard in many countries, and US Letter is common in the United States and Canada. Check the exported PDF before printing because the page size can change where content wraps.

What type of Markdown file can I upload?

Choose a non-empty UTF-8 text file with a .md or .markdown extension and keep it under 1 MB. If your editor saved it in another encoding, resave the file as UTF-8 first.