About Markdown to PDF
Markdown is convenient while writing and awkward to hand to someone who expects a document. A PDF fixes the layout and opens anywhere, but many converters render the page as an image, which makes the text impossible to search or copy. This tool writes the PDF as real text with jsPDF, so headings, paragraphs and tables stay selectable.
The Markdown is parsed with marked and laid out page by page with A4 or Letter size, adjustable margins, a font scale and a code-wrapping option. Headings, lists, code blocks, blockquotes, tables and links each have their own layout, page breaks are inserted where a block does not fit, and the final page count is shown in the result. Everything runs in the browser tab and the file is never uploaded.
What this tool does
Selectable-text PDF
The output is written with jsPDF text calls rather than a screenshot, so text can be selected, searched and copied in any PDF reader.
Markdown coverage
Headings, paragraphs, ordered and unordered lists, code blocks, blockquotes, horizontal rules, tables and links are each laid out with their own rules.
Page size and margins
Choose A4 or Letter and normal, narrow or wide margins; the content area is recalculated and every block wraps to fit it.
Font scale and code wrapping
Scale the body text for dense or presentation use, and decide whether long code lines wrap inside the content width or are truncated.
Automatic pagination
Blocks that do not fit move to the next page, tables split with their header repeated, and every page is numbered in the footer.
Local PDF generation
The PDF is assembled in the tab and saved through a normal download; the Markdown and its rendered content never leave your device.
How to use Markdown to PDF
- 01
Paste or open Markdown
Paste Markdown into the input pane or open a .md, .markdown or .txt file of up to 5 MB.
- 02
Choose the page setup
Pick A4 or Letter, a margin preset and a font scale that fits how dense the document should look.
- 03
Decide about code wrapping
Keep long code lines wrapped inside the page width, or truncate them when the source formatting matters more than reading every character.
- 04
Generate the PDF
Click Generate PDF. The document is laid out page by page and the result panel reports the page count and file size.
- 05
Download and check
Download the PDF and look at the first and last pages in a reader to confirm the breaks and tables are right.
Supported formats and limits
- Input
- Markdown
- Output
- Processing
- Client-side, in your browser. Nothing is uploaded.
- Maximum size
- Bound by the memory available to your browser tab.
- Requirements
- Chrome, Edge, Firefox or Safari · JavaScript enabled
Limitations worth knowing
- Layout is deliberately simple: one column, a single body font family (Helvetica with Courier for code), and no custom fonts, colors or embedded images.
- Inline emphasis such as bold and italic is flattened into the text stream, and raw HTML blocks are reduced to plain text.
- Tables get equal-width columns and wrapped cells, so complex tables lose their original proportions and multi-line alignment.
- The input is capped at 5 MB of Markdown, and very large documents take longer because pagination runs on the main thread.
Privacy and file handling
The Markdown is parsed, laid out and turned into a PDF entirely inside this browser tab. The document is never uploaded to FormatFlow or anyone else, no copy is stored and no network request is made for its content; closing the page discards the input and the generated file.
Read the full privacy policy
