How To Convert Markdown To Beautiful PDF
How to Export a GitHub README as a PDF (Free & Easy)
You've just finished writing a beautiful README.md for your open source project. It has headings, code blocks, tables, badges, and a lot more. Now someone asks: "Can you send me that as a PDF?"
Sounds simple. It isn't — until now.
In this guide, I'll walk you through the easiest ways to convert your GitHub README to a clean, professional PDF, and why most methods fall short.
Why Exporting a GitHub README to PDF Is Surprisingly Painful
GitHub renders Markdown beautifully in the browser. But the moment you try to save or export that as a PDF, things break:
- Browser "Print to PDF" cuts off code blocks, mangles tables, and includes GitHub's navigation chrome
- Copy-pasting into Word destroys all formatting
- GitHub's own download gives you the raw
.mdfile, not a rendered PDF
What you actually want is: your Markdown rendered exactly as intended, exported as a clean, print-ready PDF — with zero friction.
Method 1: Use PDFMaker (Fastest — No Setup Required)
PDFMaker is a free online Markdown to PDF converter built specifically for this use case. It supports full GitHub Flavored Markdown (GFM) — the same spec GitHub uses — so your README renders perfectly.
Step 1: Copy your README content from GitHub
Open your repository on GitHub, click the Raw button on your README.md, then select all (Ctrl+A) and copy (Ctrl+C).

Step 2: Paste into PDFMaker
Go to pdfmaker.cc and paste your content into the editor. You'll see a live preview update instantly on the right side — exactly how your PDF will look.
Step 3: Export as PDF
Click the Download PDF button.

Your beautifully formatted PDF downloads in seconds.
That's it.
What PDFMaker handles perfectly from your README:
- Headings (H1–H6)
- Code blocks with syntax highlighting
- Tables
- Task lists (
- [ ]and- [x]) - Blockquotes
- Strikethrough, bold, italic
- Inline code
- Horizontal rules
- Nested lists
Method 2: Upload the .md File Directly
If you have the README.md file locally (e.g. cloned from GitHub), you can upload it directly:
- Go to pdfmaker.cc
- Click the
Upload.mdbutton in the editor

- Select your
README.mdfile - Preview renders instantly — click the Download PDF button.
This is especially handy when your README is large or you want to batch-convert multiple project docs.
Comparison Table
| Method | Output Quality | GFM Support | Free |
|---|---|---|---|
| PDFMaker | ⭐⭐⭐⭐⭐ | ✅ Full | ✅ Yes |
| Chrome Print | ⭐⭐ | ✅ (via GitHub) | ✅ Yes |
| Copy to Word | ⭐ | ❌ | ✅ Yes |
Final Thoughts
For 90% of developers, PDFMaker is the right answer — paste your README, get a PDF in seconds, no setup.
Either way, you no longer need to accept a broken "Print to PDF" that looks nothing like your README.
Try it now at pdfmaker.cc — free to start, no credit card required.