Markdown to PDF
Convert Markdown (.md) to a clean, print-ready PDF online, free. GitHub-flavoured Markdown, code highlighting, tables, table of contents and page numbers. No signup.
Need a README, spec, meeting notes or an AI chat export as a proper PDF? With PDF.dk you convert Markdown to PDF for free: upload a .md file or paste the text, and get a clean document with real margins, syntax-highlighted code, tables, an optional table of contents and page numbers. GitHub-flavoured Markdown, no Illustrator, no account. Files are processed on Nordic servers and deleted automatically.
Frequently Asked Questions
- How do I convert a Markdown file to PDF?
- Upload the .md file or paste the Markdown text, choose page size, optional table of contents and page numbers, click Convert and download the PDF. No software or account needed.
- Which Markdown syntax is supported?
- GitHub-flavoured Markdown: headings, lists, task lists, tables, fenced code blocks with syntax highlighting, blockquotes, links, images, footnotes and horizontal rules. Raw HTML is stripped for safety.
- Does code get syntax highlighting?
- Yes. Fenced code blocks with a language tag (python, js, bash and so on) are highlighted, kept in a monospace font and wrapped so long lines never run off the page.
- Can I add a table of contents and page numbers?
- Yes. The table of contents is built from your headings, three levels deep, and placed first. Page numbers go in the footer as "page / total". Both are optional.
- Is this better than printing from a Markdown editor?
- Printing from an editor uses the browser's print dialog and whatever styling the editor has. This tool produces a consistent, print-ready PDF with proper margins, fonts and page breaks before headings, so READMEs, specs and reports look the same for everyone.
- Can I convert a README or an AI chat export?
- Yes, that is a typical use: README.md files, documentation, specifications, meeting notes and Markdown exported from ChatGPT or Claude all convert directly.
- Is it free and safe?
- Yes. Markdown to PDF is free, uploads are encrypted, processing happens on servers in the Nordics, and files are deleted automatically shortly after. Nothing is stored or shared.
How to
- Upload a .md file or paste your Markdown
- Choose page size, orientation, table of contents and page numbers
- Click "Convert to PDF"
- Download the finished PDF