Skip to content
toolsdocks

Convert Markdown to PDF

Turn a .md file into a clean PDF with headings, lists, tables and code blocks, with no upload and no install. This page opens the document converter with US Letter preselected.

Runs on your device

More options in the full Office document to PDF.

Loading tool…

How to convert Markdown to PDF

  1. Choose a .md or .markdown file (you can add several).
  2. Pick the page size (US Letter is preselected), orientation and margins.
  3. Select Convert to PDF.
  4. Download the PDF.

Worked example

README.md with a title, two bulleted lists, a table and a fenced code block becomes a paged PDF with selectable text and page numbers. Text is set in IBM Plex Sans.

Formats and limits

InputMarkdown
OutputPDF
LimitsUp to 50 MB per file. Legacy .doc/.ppt and OpenDocument text or presentation files are not supported.
EngineDOCX and PPTX parsed from their XML (styles, lists, tables, images; slide masters, layouts and theme colors); spreadsheets read with SheetJS; laid out as real-text PDF with pdf-lib and embedded IBM Plex Sans

Limitations

  • Images are replaced by a placeholder with their alt text.
  • All text uses IBM Plex Sans.
  • Up to 50 MB per file.

Questions

Do images in the Markdown show in the PDF?

No. An image reference is printed as a short placeholder with its alt text or path, because a single uploaded .md file cannot bring its image files along.

A long table runs off the page.

Switch to landscape or reduce the margins.

Why do the fonts differ from my editor?

All text is set in IBM Plex Sans; this is a layout engine, not a browser print.

Is my file uploaded?

No. The Markdown is read and laid out in your browser.

Privacy

Runs on your device. Files and text are processed in this browser tab and are not uploaded.

This page opens the Office document to PDF ready for this task. See the privacy policy for how toolsdocks handles data.