Free Markdown to PDF Converter

Paste or upload Markdown and turn it into a clean PDF. Pick the page size, margins and page numbers, check the paper preview, then download. Everything runs in your browser.

Lines: 0 | Words: 0

Paste Markdown, upload a .md file, or pick a template to see the PDF page here.

Letter · normal margins

Download PDF opens your print dialog. Choose “Save as PDF” as the printer, and turn off “Headers and footers” for a clean page.

Why use it

From Markdown to a PDF You Can Share

Markdown is great to write and awkward to send. Convert it into a document anyone can open.

Made for real documents

Tables, code, diagrams and math all come through.

  • GitHub Flavored Markdown
  • Syntax-highlighted code
  • Mermaid diagrams and LaTeX math
  • Page breaks avoid cutting tables and code

You control the page

Set up the PDF before you download it.

  • Letter or A4
  • Narrow, normal or wide margins
  • Text size, sans or serif font
  • Page numbers, header and footer

Private and free

No sign-ups or paywalls. Your files stay on your device.

  • Nothing is uploaded
  • No account needed
  • No watermark
  • Works on any device
Use cases

What People Turn Into PDFs

Pick a preset above and the page options are set for you.

AI chat notes and handouts

Save ChatGPT or Claude answers as neat study notes, guides or summaries.

READMEs and technical docs

Share a README, API doc, setup guide or architecture note with a team or client.

Plans, specs and changelogs

Export coding agent plans, feature specs, release notes and bug reports.

Resumes, CVs and cover letters

Write in Markdown and get the same clean layout every time.

Cheat sheets and assignments

Turn formulas, code examples and structured notes into a printable page.

Obsidian and Notion exports

Back up .md notes as PDFs for offline reading.

How to convert Markdown to PDF

  1. Paste or upload

    Paste Markdown, drop a .md file, or pick a preset to start from a sample.

  2. Set up the page

    Choose the page size, margins, text size and page numbers. The paper preview updates at once.

  3. Download the PDF

    Click Download PDF, then choose “Save as PDF” in the print dialog.

Resumes

Turn a Markdown Resume Into a PDF

Markdown keeps a resume simple. The Resume preset gives it tight margins and a compact font so it fits on one page.

Resume preset

Write once, export a clean page

Use headings for sections, bullets for achievements and bold for skills. The layout stays the same every time you export.

  • Narrow margins and a small font
  • No page numbers on a one-page resume
  • Plain text, so it reads well in applicant systems
Tips

Keep it to one page

Short bullets with numbers work best. Avoid images and tables for the main content, so text is easy to copy and scan.

  • Lead each bullet with a result
  • Use Serif for a classic look
  • Check the preview before you download
AI notes

Turn ChatGPT and Claude Answers Into Study Notes

AI tools reply in Markdown. Copy the answer, paste it here and save a PDF you can print, share or keep.

Copy, paste, save

A handout from one chat answer

Headings, bullets, tables and code come through with clean formatting. Add a header, page numbers and a file name, then download.

  • Works with ChatGPT, Claude, Gemini and Cursor
  • Tables and code keep their layout
  • Clean up stray symbols with the AI Text Cleaner first

PDF options explained

OptionWhat it doesGood for
Page: Letter or A4Sets the paper sizeLetter in the US, A4 elsewhere
MarginsNarrow, normal or wide space around the textNarrow for resumes and cheat sheets
Text sizeSmall, medium or large body textSmall to fit more, large for reading
FontSans or serifSerif for study notes and letters
Page numbersAdds “Page 1 of 3” at the bottomReports, docs and notes
Header and footerYour own text on every pageA title, a name or “Confidential”
File nameThe suggested name of the PDFKeeping files organized

Just want to read or copy a Markdown file?

Use the Markdown Viewer when you only want to see what a .md file says, check how it renders, or copy it into another app. Use this tool when you need a PDF with page size, margins and page numbers.

Read or copy a .md fileMarkdown Viewer
A PDF with page optionsMarkdown to PDF

Privacy and safety

  • Files and text are read and converted in your browser. Nothing is uploaded.
  • Scripts, event handlers and unsafe links in your Markdown are removed before the preview is shown.
  • Your text is saved only in this browser, and Clear removes it.
  • The PDF is made by your browser’s own print engine, so there is no watermark and no limit.

More free tools

Frequently Asked Questions

Free, private, runs in your browser.

Is my file uploaded anywhere?

No. Files and text are read and converted in your browser. Open your browser’s network tab while you use the tool and you’ll see no requests carrying your content.

How do I convert Markdown to PDF?

Paste your Markdown or upload a .md file, set the page options, then click Download PDF. In the print dialog, choose “Save as PDF” as the printer.

Can I turn a README.md into a PDF?

Yes. Pick the README / docs preset, paste or upload the file, and download. Tables, code blocks and task lists keep their formatting.

Can I save ChatGPT or Claude output as a PDF?

Yes. Copy the answer, paste it into the editor and click Download PDF. If it has stray symbols or hidden characters, run it through the AI Text Cleaner first.

Can I make a resume PDF from Markdown?

Yes. Pick the Resume preset for narrow margins and a compact font, write your resume with headings and bullets, and download. Keep it to one page and check the preview first.

Does it support Mermaid diagrams and math?

Yes. Diagrams in mermaid code blocks are drawn into the PDF, and LaTeX math between dollar signs is typeset with KaTeX.

Why are there no page numbers in my PDF?

Page numbers use a newer print feature. They work in current Chrome, Edge and Safari. If they are missing, update your browser or try Chrome.

How do I remove the date and web address at the top and bottom?

In the print dialog, open More settings and turn off “Headers and footers”. That setting belongs to your browser, so the tool cannot change it.

Can I choose Letter or A4?

Yes. Letter is the default for the US. Switch to A4 with the Page option.

Which files can I upload?

Markdown files (.md, .markdown, .mdown, .mkd) and plain .txt files, up to 5 MB.

Will I lose my text if I refresh?

No. Your text and options are saved in this browser until you press Clear. Very large files are not saved.

Keep reading

From the AlloyPress blog

Last updated 2026-11-20 · Built and tested by the AlloyPress team · How we test