# Markdown to PDF

[HTML](https://pdfcraft.ai/tools/markdown-to-pdf/)
[Site index](https://pdfcraft.ai/llms.txt)

Convert Markdown files or pasted text into a clean printable PDF in your browser with GFM tables, KaTeX math equations, code blocks, and Mermaid diagrams.

## How to use this tool

1. Open a .md file or paste Markdown text (up to 2 MiB).
2. Choose A4 or Letter page size, margins, and body font size, then prepare the preview.
3. Click Save as PDF (Print) and save the formatted PDF directly from your browser.

## Does Markdown to PDF support LaTeX formulas and tables?

Yes. Inline $...$ and display $$...$$ equations render via native MathML, alongside GitHub Flavored Markdown tables, code blocks, and Mermaid diagrams.

## Are my Markdown notes uploaded to a server?

No. Rendering and PDF print layout run completely locally in your browser.

## How do I hide browser headers and footers when saving as PDF?

In the browser print dialog, expand More settings and uncheck Headers and footers before saving.
