ToolConvoyToolConvoyv2.6
DOC

Markdown to PDF — Render Markdown to PDF in Your Browser

Convert Markdown to PDF. Paste text or drop a .md file, no uploads, no accounts, runs entirely in your browser.

● LOCAL · DOCS NEVER LEAVE DEVICE0 network requests since page load

Markdown to PDF sits in an awkward spot: Markdown is the lingua franca of writing that is meant to be rendered (READMEs, blog posts, internal docs), and PDF is the lingua franca of writing that is meant to be printed. Converting between them is one of the most common chores in technical writing, and the conversion has been broken in the same way for fifteen years.

The historical reason is that Markdown and PDF disagree about layout. Markdown is a stream of blocks — the reader’s job to decide where each one sits on a page. PDF is a list of glyphs at exact coordinates — the producer’s job to decide. A “good” Markdown-to-PDF converter has to make a thousand small layout decisions that Markdown does not specify, and the result is either faithful-but-different or pretty-but-not-what-the-Markdown-said. The honest version of the tool, the one in this page, picks the first option: it does not try to look like your markdown editor, it tries to produce a readable PDF that says what your Markdown said.

For richer output, the natural next step is a Markdown-to-HTML-to-PDF pipeline that runs a real layout engine (Chromium’s headless, WeasyPrint, or Prince). Those tools produce better-looking output but require either a server or a heavy local install. The trade-off is the right one to make explicit: this tool is a pure-browser option that runs in 100 ms, ships zero dependencies, and produces a readable but unstyled PDF. If the output is going to be printed and folded into a packet, it does the job. If the output is a customer-facing report, the dedicated HTML-to-PDF tool is the right pick.

How to use

  1. Paste or drop Markdown

    Type Markdown into the text area, or use the file picker to load a .md, .markdown, or .txt file. The editor preserves the input until you reset.

  2. Click Convert to PDF

    The converter walks the Markdown block by block — headings, paragraphs, lists, code, blockquotes, and horizontal rules — and lays each one out on a fresh page as needed.

  3. Download the PDF

    The output is a single PDF named after the source file. The page count and final file size are shown above the download button.

Frequently asked

Which Markdown features are supported?

Headings (h1–h4), paragraphs, ordered and unordered lists, fenced code blocks, blockquotes, and horizontal rules. Inline formatting (bold, italic, links) is stripped to plain text — the visual emphasis is preserved through the block level only.

Are images and tables rendered?

No. The output is text-only — image syntax is reduced to the alt text, and pipe tables are dropped. Use the HTML to PDF tool if you need richer output.

Why are the headings all in Times Roman?

The PDF is built with pdf-lib, which embeds the standard PDF fonts (Times, Courier, Helvetica). Custom web fonts would balloon the file size; the standard set is portable and renders identically in every reader.

Can I choose a different page size?

The page is A4 by default (595 x 842 pt). Custom page sizes, margins, and font sizes are exposed in the source if you need to tune the output for a specific print job.

Is there a size limit?

The only limit is your browser tab's memory. Very long documents (50,000+ words) can take a few seconds to render because pdf-lib has to lay out every line.

Limitations

  • No syntax highlightingCode blocks are rendered in monospace Courier with no token coloring. Highlight your code before pasting if color is important, or use a screenshot of the code in a DOCX-to-PDF flow.
  • Inline formatting is strippedBold, italic, strikethrough, and inline code are all rendered as plain text. The information is preserved, the visual emphasis is not.
  • No images, tables, or footnotesImage syntax is reduced to its alt text and table rows are dropped. The same caveats apply to footnotes, definition lists, and other extended Markdown features.
  • Single-column layoutEvery line is wrapped to the page width. Multi-column source documents collapse into one wide column, which can look stretched on a narrow viewport.

Platform notes

macOS
Preview and Quick Look render the output correctly. For print, File > Print shows the page count and offers a 'Save as PDF' shortcut in the print dialog.
Windows
Adobe Acrobat Reader, Edge, and Chrome all open the file. Microsoft Print to PDF is the easiest route for re-printing after edits.
Linux
Evince, Okular, and Firefox's built-in PDF viewer all render the output. For command-line batch conversion, pandoc with a wkhtmltopdf backend is the closest equivalent.
Web
The converter is fully client-side. The Markdown stays in the browser tab until you click Convert; the PDF is generated in memory and offered as a download blob.