Markdown to PDF Converter
: Convert Markdown to a paginated PDF with selectable textOptions
Markdown to PDF Converter
Turn Markdown notes, READMEs and reports into a downloadable PDF with selectable text, page numbers and heading bookmarks. Choose paper size, orientation and margins before exporting. Your source stays in this tab and is not autosaved.
How to convert Markdown to PDF
- Paste into
Markdown, chooseOpen filefor a UTF-8 file (its name becomes the title), or pressExample. The reading preview updates as you type. - Optionally enter a
Document title, then choose thePaper size(A4 or Letter),OrientationandMargins. - Review any warnings. Unsupported font characters must be changed before export: until then there is nothing to download. Images become alt-text placeholders and raw HTML is shown literally.
- Press
Downloadin the preview's head. The first export loads the local PDF engine and bundled fonts.Clearremoves your input from the page.
Details
- The result is a real paginated PDF, not a screenshot or a print-dialog export. Text stays selectable. Headings become nested bookmarks, and each page has a page-number footer.
- Headings, bold, italic, strikethrough, inline code, fenced and indented code blocks, quotes, numbered and bulleted lists, task lists and GFM tables are supported. Table headers repeat on new pages and column alignment is preserved.
- The optional title appears at the top of the document and in the PDF metadata (check or edit it later with PDF Metadata); it also supplies the download filename. Normal margins are 25.4 mm and narrow margins are 12.7 mm.
- The preview shows document structure with the site's font. PDF page breaks and line wrapping are calculated separately by pdfmake using bundled Roboto. Code is shaded and keeps spaces, with tabs expanded to four spaces; the PDF code font is proportional Roboto.
- Only absolute HTTP/HTTPS links without credentials and simple mailto addresses remain clickable. Relative links, fragment links and other schemes keep their label as plain text. Opening a link is an explicit action and leaves this site.
- For an editable document use Markdown to Word; for a longer drafting session use Markdown Editor. Both are in Related tools below. PDF to Markdown converts text in the other direction.
Limits
- No size or page cap on the UTF-8 text: a long document (over 100,000 characters) becomes a PDF when you press
Make PDF, with a progress line and Cancel, and its preview shows the start while the PDF holds every page. Nesting is limited to 12 levels and tables to 8 columns. A document too big for the browser's memory (about 4 million words in desktop Chrome, fewer in other browsers and on phones) is refused before it starts, with how many parts to split it into. - The bundled fonts cover Latin, Greek and Cyrillic, not all Unicode. Unsupported glyphs, emoji, CJK, Arabic, Hebrew and formatting controls block export with their Unicode code points. A browser preview may show characters that the PDF font cannot render.
- No images are fetched or embedded, including remote, relative, blob and data URLs. Raw HTML is displayed as literal text; HTML styling, scripts and embedded content never run. This also applies to the exported PDF.
- No LaTeX math, Mermaid diagrams, footnotes, custom CSS, custom fonts or Word-style page templates. Their source remains text. Long code lines and table cells wrap to fit the available width.
- Content is held in memory only. Reloading or leaving the page loses the draft. Large or complex documents may take time to lay out, especially on mobile devices.
FAQ
Does this open the browser print dialog?
No. It generates a PDF file in the browser and downloads it directly, with page size and margins taken from the tool's settings.
Will my Markdown or image links be uploaded?
No. Conversion stays in the browser. Image URLs and raw HTML cannot initiate requests. The PDF engine and bundled fonts load from this site on the first export.
Why is export disabled for some characters?
The included font cannot render every script or symbol. The tool checks its actual glyph coverage and reports unsupported code points instead of exporting missing-glyph boxes. Change those characters or use a document editor with an appropriate font.
Runs entirely in your browser. Nothing is uploaded.