Markdown to PDF

Convert Markdown to a clean, printable PDF with selectable text.

Your Markdown notes and documentation are converted to a PDF inside your browser tab without server uploads. See our privacy policy.

Your Markdown notes and documentation are converted to a PDF inside your browser tab without server uploads. See our privacy policy.

Your Markdown notes and documentation are converted to a PDF inside your browser tab without server uploads. See our privacy policy.

Your Markdown notes and documentation are converted to a PDF inside your browser tab without server uploads. See our privacy policy.

How to convert Markdown to PDF

  1. Paste your Markdown text into the input box or click Choose a file to open a local .md or .markdown file.
  2. Select A4 (210 × 297 mm) or US Letter (8.5 × 11 inches) paper size.
  3. Click Make PDF and then Save PDF to download the document.

Markdown (.md) was created by John Gruber in 2004 so writers could compose structured documents using plain-text punctuation that remains readable without a special viewer. Note how this lightweight converter works: it sets your raw Markdown text in a clean, fixed-width Courier font with all headings (#), bullet lists (-), numbered steps, fenced code blocks (```), and indentation kept intact, rather than compiling the Markdown into styled HTML first. If you want a visually styled PDF with bold proportional headings and bordered tables, open our Markdown Editor and click its Print / Export button instead.

Worked example: Exporting a 150-line project README.md to A4 PDF

Suppose you have a software project README.md (150 lines, 5.2 KB) containing setup commands, environment variable lists, and release notes:

# Release Notes v2.4.0

- Added local IndexedDB cache cleanup on sign-out
- Fixed timezone offset calculation for UTC+05:30
- Updated Playwright test runner config for headless Chromium

Selecting A4 and clicking Make PDF writes the 150 lines across 3 A4 pages (17.6 KB) in selectable monospaced Courier text at 10-point size with 14-point line spacing. Lines wider than 80 characters wrap cleanly at the right margin so terminal commands, YAML blocks, and configuration snippets can be copied straight out of the PDF without horizontal clipping.

Limits and what this tool cannot do

  • Prints literal Markdown syntax (`#`, `**`, `` ` ``): This tool writes the plain-text Markdown source in a monospaced font. If you want `# Heading` rendered as a large bold title and pipe tables drawn as bordered HTML tables before printing to PDF, use the Markdown Editor or Markdown to HTML.
  • External images (`![alt](url)`) and links are not fetched: Image tags and hyperlinks appear as literal Markdown syntax in the text; no remote images are downloaded or embedded.
  • MathJax/KaTeX equations and Mermaid diagrams: LaTeX math blocks ($$...$$) and Mermaid flowcharts are printed as raw source text rather than rendered graphics.
  • Standard Western European character set: Built-in PDF Courier fonts cover ASCII and Western European Latin characters. Non-Latin scripts (such as Devanagari, Chinese, or Arabic) and emoji are replaced with ? and reported in the status notice.

Questions

How do I get a styled PDF where Markdown headings and tables are rendered?

Use the Markdown Editor on this site instead. The Markdown Editor renders your Markdown into live formatted HTML with headings, lists, and tables, and lets you print or save the styled result.

Why would I print raw Markdown source to a PDF?

Raw Markdown PDFs are useful when archiving plain-text notes, grading student Markdown syntax submissions, or sharing CLI documentation where monospace alignment and literal backticks matter.

Is the text in the generated PDF searchable?

Yes. The PDF contains real text streams in the standard Courier font, so you can search with Ctrl+F and copy text without OCR.

Are my private notes uploaded anywhere?

No. Everything runs locally in your browser tab and your Markdown text never leaves your device.

Last reviewed .

Related converters and guides