Written and tested by the MD Converter editorial team
Create a PDF with Markdown Document Converter in Five Minutes
Load a file, check the preview and layout, then save your first PDF with Markdown Document Converter in five practical steps.
The five-step workflow
The Markdown to PDF tool creates PDFs in your browser without installing an app or creating an account:
- Load a Markdown file.
- Check the preview.
- Set paper, orientation, and margins.
- Adjust page breaks.
- Click “Save as PDF” and select a PDF destination in the print dialog.
Conversion runs locally in your browser; your document does not need to be uploaded for conversion.
Load and preview your document
Drop a .md file or choose one with the file picker (up to 10 MB). The print preview renders GFM tables, task lists, fenced code, images, and Mermaid diagrams. Images can also be dropped onto the preview near the block where they belong. For the basics of loading, previewing, and exporting, see the Markdown Document Converter Quick Start in 4 Steps.
Choose a practical layout
Open Layout settings and select the paper size and orientation. A4 portrait is a sensible starting point for general documents; landscape can help with wide tables. Start with equal margins on all four sides and adjust only after inspecting the page preview.
Avoid applying large margins in both the tool and the browser print dialog, as the two settings can compound. If the browser offers its own margin option, begin with none or the smallest setting and inspect the result.
Check page breaks
Look for headings stranded at the bottom of a page, split tables, or divided code samples. Move a page break before a section when necessary. For longer documents, the advanced options can add breaks before h1 or h2 headings and avoid breaks inside tables or code blocks.
Save and inspect the PDF
Click “Save as PDF,” choose a PDF destination in your browser or OS print dialog, and select a filename. Confirm that paper size and orientation match the tool. Disable browser headers and footers if you do not need the URL, date, or page title.
Open the downloaded PDF once before sharing it. Check the page count, final page, images, links, and any non-Latin characters. Output can vary by browser and OS; Google Chrome is recommended when consistent layout is important.
Start with a document preset
Before loading a file, you can select a preset for a specification, proposal, meeting notes, report, technical document, or minimal layout. A preset applies a practical combination of cover, TOC, margins, page numbering, background, font size, and line height. It is a starting point rather than a locked template; adjust individual controls after seeing the real content.
Choose the preset by document purpose, then use the CTA beneath the gallery to select the .md file. If you are unsure, start with Specification for structured internal documents or Minimal for a short handout.
Add a cover and table of contents
Use the cover control when recipients need a clear title, organization, date, version, and author. The Japanese-style templates favor restrained layouts suitable for specifications and submitted documents. Enable TOC when the file has useful H2 and H3 headings; H2 entries receive starting page references in the exported contents page.
Avoid a TOC for a two-page note. For a longer report, keep headings descriptive and consistent before generating it. Heading edits change pagination, so finalize structure before fine page-break work.
Adjust images and page breaks
Select an embedded image to resize it from a corner while preserving aspect ratio. Align it left, center, or right, and add a page break before it when necessary. Keep captions close to the image and check that a large figure does not push a heading onto the previous page.
Drag a page-break handle between blocks to move the boundary. Add or remove breaks at meaningful section boundaries, and use undo, redo, or history when an experiment makes the layout worse. Do not try to fill every millimeter; intentional whitespace is preferable to a split heading or unreadable table.
Understand browser print settings
The document already controls its page margins, so begin with no additional browser margin. Turn browser headers and footers off when the tool's 1/n numbering is enabled. Keep scale close to 100% and use the same paper orientation shown in preview. Background graphics may be necessary when using a colored page. Once your first PDF works, How to Print Markdown or Save It as PDF covers the full workflow, from choosing a conversion method to pre-distribution checks.
First-export checklist
- The expected preset and cover are active.
- Cover metadata contains no sample values.
- TOC headings match the body.
- No heading is stranded at a page bottom.
- Tables, code, and images fit the printable width.
- Page numbers do not overlap content.
- Browser headers and footers are not duplicated.
- The suggested filename is descriptive.
- The saved PDF opens and its final page is correct.
Continue with the complete PDF preflight checklist before external distribution.