Paperlane
Install app

In your browser menu, look for the option labeled “Add to Home Screen” or “Install app”.

Markdown to PDF

Convert Markdown to PDF free, entirely in your browser — paste or upload a .md file and get a formatted, print-ready PDF with headings and lists intact.

  1. Add
  2. Adjust
  3. Make
  4. Keep
Loading tool…

How to use this tool

  1. Upload a Markdown file (.md or .markdown) or paste Markdown text into the source box.
  2. Choose a theme (light or dark), base font size, serif or sans typography, and A4 or Letter page size with the margin you want.
  3. Turn on the table of contents if you want a clickable index page before the body that jumps to each heading.
  4. Review the rendered preview of your document, then download the PDF when the layout looks right.

About this tool

Convert Markdown to PDF free, entirely in your browser — paste or upload a .md file and get a formatted, print-ready PDF with headings and lists intact. Nothing is uploaded to a server; the conversion runs locally, and the finished PDF downloads straight from your device.

Privacy & limitations

Code blocks are rendered as plain monospace text on a shaded background — language-aware syntax highlighting is not included in this version. Raw HTML in the source is sanitized to plain text (tags stripped, script and style blocks removed), so it is never rendered as HTML markup. Images are not embedded; an image in your Markdown is shown as its alt text in brackets. Formatting is limited to the standard 14 PDF fonts, so characters outside the WinAnsi set (such as emoji or CJK) are replaced with a placeholder.

Last updated:

Frequently asked questions

How do I convert a Markdown file to a PDF?

Upload a .md or .markdown file, or paste your text into the source box. Choose a light or dark theme, font size, serif or sans typography, and A4 or Letter with a margin. Turn on the table of contents for clickable headings if you want one, check the rendered preview, then download the PDF.

Which Markdown features are not carried into the PDF?

Code blocks are plain monospace with no syntax highlighting. Raw HTML is reduced to plain text, and images are not embedded, so an image appears as its alt text in brackets. The standard PDF fonts cannot show emoji or CJK characters, which are replaced with a placeholder.

Is my Markdown sent anywhere when I convert it?

No. Rendering and PDF creation happen in your browser, and the source text never leaves your device. Pasted or uploaded text is processed locally. No account is needed, and the PDF is only saved when you download it. Your text remains only in this browser tab until you download the PDF.

Will headings and lists look clean in the PDF?

Headings, lists, emphasis and paragraphs follow the theme and font size you pick, and the preview shows the layout before you download. Only the 14 standard PDF fonts are used, so non-Latin text and emoji are replaced. Check any multilingual document carefully.

What font size and margins can I set when converting Markdown to PDF?

Font size runs from 9 to 20 points and defaults to 12. Margins run from 20 to 80 points and default to 48. You also pick A4 (the default) or Letter, a sans or serif style, and a light or dark theme. Code always uses monospace.

Is the table of contents on by default?

No, it is off by default. When you switch it on, the PDF gets a clickable index page before the body, and each entry jumps to its heading. Turn it on for long documents with many headings, and leave it off for short notes or letters.

Can I use my own font in the PDF?

No. Output uses the standard 14 PDF fonts only. You choose between a sans and a serif style for body text, and code blocks use monospace. Because of this, characters outside the WinAnsi set, such as emoji or CJK, are replaced with a placeholder.