Skip to content

Markdown to PDFNew

Turn Markdown into a formatted PDF.

Runs in your browser · free · no sign-up

Markdown

About the Markdown to PDF

Share a README, notes or documentation as a PDF anyone can open. Formatting is kept and long content flows onto new pages.

Markdown is great for writing, but not everyone can read raw # and ** symbols. Converting to PDF gives a formatted document that anyone can open: headings in bold, lists indented, quotes set apart, code in a monospace box and tables with borders.

The converter first renders your Markdown to HTML with the marked library and then lays it out as a PDF with pdf-lib, flowing long content across as many pages as needed. It is a quick way to share README files, documentation, meeting notes or a CV kept in Markdown.

How to use the Markdown to PDF

  1. 1Paste Markdown or open a .md file.
  2. 2Pick A4 or Letter.
  3. 3Click Convert to PDF.

Key features

  • Headings, emphasis, lists, quotes, code blocks and tables.
  • Tables with borders and a header row.
  • Monospace code blocks on a grey background.
  • Multi-page output with automatic page breaks.

Practical uses

  • Sharing a project README with a client as a PDF.
  • Printing study notes written in Obsidian or another Markdown app.
  • Creating a simple PDF CV from a Markdown file.

Example

Your notes.md has a # title, three ## sections, a bulleted checklist and a small table of dates. Paste it and convert. The PDF shows the title large and bold, each section heading clearly, the checklist with bullets and the table with borders, ready to email to your study group.

Tips and common mistakes

  • Leave a blank line before lists and tables so Markdown recognises them.
  • Keep code lines under about 90 characters to avoid wrapping in code blocks.
  • Preview your Markdown in the Markdown Editor first if it has complex nesting.
  • Use --- on its own line for a horizontal rule to separate sections visually.

Limitations

  • Emoji and non-Latin scripts are replaced with “?”.
  • Images and custom themes are not included.

Privacy

Rendering and PDF creation happen in your browser; your notes are not uploaded.

Frequently asked questions

Are tables and code blocks supported?

Yes. Tables get borders with a header row, and code blocks use a monospace font on a grey background.

Can I use emoji?

Emoji and non-Latin scripts are replaced with “?” because standard PDF fonts are used.

Is my document uploaded?

No. The conversion runs in your browser, so the file never leaves your device.

Is GitHub-flavoured Markdown supported?

Yes for the common parts: tables, fenced code blocks and autolinks. Task lists appear as ordinary list items.

Can I choose the page size?

Yes. Choose A4 or Letter before converting; margins and fonts adjust automatically.

Are links clickable in the PDF?

Link text is shown in blue so readers can see where links are; for long URLs, write the address in the text as well.

Related tools

Word to PDFNewConvert DOCX documents to PDF.
Word to HTMLNewConvert DOCX to clean HTML.
Word to TextNewExtract plain text from DOCX.
Word to MarkdownNewConvert DOCX to Markdown.