To convert Markdown to PDF, paste it or drop an .md file into the editor above, pick a style, and click Download PDF, then choose "Save as PDF" in the print dialog. The PDF is exactly the preview you see: tables, syntax-highlighted code, LaTeX math, Mermaid diagrams, footnotes and task lists all come through, and the text stays selectable.
What does the output look like?
A table that runs over a page break
| Endpoint | Method | Auth |
|----------|--------|------|
| /users | GET | Token |
| /users | POST | Admin |
| ...40 more rows... | | |A bordered table. When it reaches the bottom of a page,
the header row (Endpoint | Method | Auth) is repeated at
the top of the next page, and no row is split in half.Code, math and a diagram
```python
def area(r):
return math.pi * r ** 2
```
The area is $A = \pi r^2$.
```mermaid
graph LR
Draft --> Review --> Publish
```1. The Python block in a monospace box with keyword
colouring. Long lines wrap instead of being cut off.
2. A = πr² typeset with KaTeX, as in a LaTeX paper.
3. A drawn flowchart: Draft → Review → Publish.
The Mermaid source itself is not printed.Front matter and footnotes
---
title: Q3 report
author: Sam
---
# Q3 report
Revenue grew 12%.[^1]
[^1]: Unaudited.Starts at the "Q3 report" heading. The front matter
block is not printed. The footnote marker is a
superscript 1, and "Unaudited." sits in a numbered
notes list at the end of the document.How is this different from printing a Markdown file directly?
Printing a .md file from a text editor prints the raw syntax: pound signs, pipes and asterisks. This tool renders the Markdown first with a print stylesheet built for paper, with sized headings, real table borders, highlighted code in a box and sensible margins on every page, and then hands that to the browser's PDF printer.
Which style should I pick?
Modern is sans-serif with teal accents, good for specs and reports. Classic is a serif face that reads like a paper or a letter. Minimal uses more whitespace and plain headings.
Switch to B&W if it will be printed on a mono printer: code keywords are then shown with bold and italics instead of colour, so the highlighting still carries meaning in greyscale.
Can I convert ChatGPT or Claude output to PDF?
Yes. Use the copy button on the AI reply (it copies Markdown, not formatted text) and paste it here. If the reply has stray citation markers or extra blank lines, run it through the AI output cleaner first. If the recipient needs to edit the document, send a Word file instead.
When should I use Pandoc instead?
Use Pandoc when you convert many files, need it in a script or CI job, or need citations, a table of contents or a LaTeX template. Its default PDF route goes through LaTeX, so you install Pandoc and a TeX distribution first, and Mermaid needs an extra filter. For a single document you want to send today, this page is faster. Our Pandoc alternative article goes into more detail.
How are tables, code, front matter and other edge cases handled?
| Input | What you get |
|---|---|
| GFM tables | Bordered table; header row repeats on each page; rows are not split across pages |
| Fenced code blocks | Syntax-highlighted; long lines wrap rather than being clipped |
| LaTeX math ($...$, $$...$$) | Typeset with KaTeX. Dollar amounts like $5 are not treated as math |
| ```mermaid blocks | Rendered as diagrams. An invalid diagram falls back to showing its code |
| YAML front matter | Not printed |
| Images | Printed if the URL is publicly reachable; scaled down to fit the page width. Local paths do not work |
| Footnotes | Superscript markers with the notes collected at the end |
| Task lists | Checkboxes, ticked or empty |
| Emoji | Printed with your system's emoji font, so they look like they do on your device |
| Raw HTML | Passed through, which is how a manual page break works |
| Page numbers / TOC | Not generated. Use the print dialog's headers and footers for page numbers; use the TOC generator for a contents list |
MDConvert vs Pandoc vs upload-based converters
| MDConvert | Pandoc | Upload-based sites | |
|---|---|---|---|
| Install needed | No | Pandoc + a LaTeX engine (or another PDF engine) | No |
| File leaves your device | No | No | Yes, uploaded to their server |
| Live preview before export | Yes | No | Usually no |
| Mermaid diagrams | Yes | With a filter such as mermaid-filter | Varies |
| LaTeX math | Yes (KaTeX) | Yes (full LaTeX) | Varies |
| Batch / command line | No | Yes | Some, via paid API |
| Custom templates | Three built-in styles | Full control | Limited |
Pandoc is the better tool for automation and typesetting control. MDConvert is for converting one document quickly without installing anything.
Maintained by Ankit Aglawe. Last updated .
Related Tools
Need a different format? See every tool on the Markdown converter page, or go back to the MDConvert home page.