MD Export Desk

Markdown to PDF, laid out as real pages

Write or paste Markdown and see the exact pages your PDF will have: page numbers, a table of contents, tables that break cleanly between rows. It all runs in your browser; your document is not uploaded.

What happens to each part of your Markdown

Many Markdown-to-PDF converters hand the HTML to the printer and hope. Here every block is measured and placed on a page before you export, so you can see in the preview where each table, code block and diagram will land.

Long tables
Break between rows. The header row repeats at the top of every page the table continues on. How table breaks work
Wide tables
Text drops to 85%. Still too wide: the table gets a landscape page (or, if you choose, stays portrait at 75% with wrapped cells). Each case is listed under Layout notes.
Code blocks
Syntax colors for 25 languages. Long lines wrap instead of running off the page; the wrapped part is indented under the line, and line numbers (on for blocks of 12+ lines) mark where each real line starts. Blocks split between lines across pages.
Chinese text
Set in Noto Sans SC, mixed with the Latin text on the same line, the same on every computer. Copying or searching the PDF gives the real characters. Japanese kana use the same font; Korean uses your system font.
Mermaid diagrams
Flowcharts, sequence, Gantt, class and state diagrams are drawn as vectors with real text. A diagram with a syntax error shows the error and its source instead of disappearing.
Images
Linked by web address, or attached from your computer with the image button (or paste one). A picture that fails to load prints as a visible box with its address, never as a silent gap.
Footnotes
[^1] references are numbered in order and collected under Notes at the end of the PDF. In Word they become real footnotes.
Page breaks
Type <!-- pagebreak --> on its own line (\pagebreak and \newpage work too), or start every # or ## section on a new page in Page setup.
Paragraphs and headings
Paragraphs split between lines with at least two lines on each page. A heading never sits alone at the bottom of a page; it moves with the text it introduces.
Not supported
LaTeX math prints as typed. Raw HTML is kept but scripts, forms and embedded frames are removed.

Four document styles

Report puts a title block from your front matter at the top, numbers sections if you want, and runs the title and date along the top of each page. Memo starts with a To / From / Date / Subject block in a serif face. Plain looks like a README on GitHub. Client report opens with a cover page carrying your logo, the client's name and your brand color; see client reports.

Each style works on US Letter or A4 with narrow, normal or wide margins. Start from the project report template if you want a worked example.

Front matter it reads

Put these lines at the very top of the file, between two lines of three dashes. All are optional.

---
title: Fieldbook Rollout: Q3 Project Report
subtitle: Mobile work orders for field crews
author: Dana Whitfield
client: Harbor Valley Water
date: October 3, 2026
version: 2.0
---

Memos also read to, from, cc and subject. Type [TOC] on its own line to put the table of contents exactly there.

Saving the PDF

Export PDF opens your browser's print dialog with the preview pages loaded. Pick Save as PDF as the destination and keep the scale at 100%. Page size and orientation are already set by the document, including landscape pages for wide tables.

We test the layout with Chrome's print engine, which Edge and Brave share. Safari and Firefox have their own; if you use one of them, compare the page count in its print preview with the editor's before you save, especially when the document has landscape pages.

BrowserWhere to choose PDFCheck
Chrome, Edge, BraveDestination → Save as PDFMargins: Default
Safari (Mac)PDF menu, bottom left → Save as PDFScale 100%
FirefoxDestination → Save to PDFMore settings → untick Print headers and footers
iPhone, iPadPrint → pinch out on the preview → Share → Save to Files—

Need an editable file instead? Use the Word button, or the Markdown to Word converter.

Questions

Is my document uploaded anywhere?
No. The Markdown is turned into pages by code running in your browser tab, and the PDF is made by your browser's own print engine. The text you type is saved only in this browser's local storage so it is there next time. Images you link by web address are loaded from those addresses, like any web page would.
Why does Export PDF open the print dialog instead of downloading a file?
Because the browser's own print engine writes the best PDF: text stays selectable and searchable, fonts are embedded, links stay clickable, and nothing has to be sent to a server to render it. Choose Save as PDF as the destination. The layout is tested with Chrome's print engine (Chrome, Edge, Brave); in Safari or Firefox, check that the print preview shows the same number of pages as the editor.
What happens to a table that is too long or too wide for the page?
A long table breaks between rows and repeats its header row at the top of the next page; a row is never cut in half. A table wider than the page first gets 85% text, and if that is not enough it moves to a landscape page of its own. You can keep it portrait instead, in which case the text shrinks to 75% and long words in cells wrap.
Does it work with Chinese text?
Yes. Chinese is set in Noto Sans SC, served from this site in small pieces so your browser only downloads the characters the document uses, and lines break between characters the way they should. The PDF looks the same on any computer, and its text copies and searches as the right characters. (With some system fonts, Chrome's PDF writer turns common characters such as 月 and 门 into look-alike radicals when you copy them; this font avoids that.) Korean uses the fonts on your computer.
Can I get a Word file too?
Yes. The Word button builds a .docx from the same Markdown: headings use Word's Heading styles, tables repeat their header row, footnotes become Word footnotes, wide tables get a landscape section and Mermaid diagrams become images.
Is it free?
Yes, with no account, no watermark and no page limit. Use the PDFs and Word files for anything, including work you deliver to clients.