DoraPDF / Blog

Markdown to PDF Online: Turn a README or .md Notes into a Clean PDF (Free)

By the DoraPDF team · 4 min read · Updated 2026-11-14
Markdown to PDF Online: Turn a README or .md Notes into a Clean PDF (Free)

Markdown is lovely to write and awkward to hand over. Your notes look tidy in Obsidian, your README looks great on GitHub, but the person who needs them wants "a PDF, please". Command-line tools like Pandoc do the job, if you're happy installing them and wrestling with options.

For most people, a browser is enough. DoraPDF's Markdown to PDF tool lets you paste or upload Markdown and export it as a styled PDF in a couple of clicks. It's free and runs entirely on your device.

Who this is for

That last one is surprisingly common. Chatbots often reply in Markdown; pasting the reply here turns those symbols into proper headings and bold text in a PDF.

Convert Markdown to PDF in three steps

  1. Open Markdown to PDF.
  2. Either type or paste your Markdown into the big Markdown box, or use Upload .md (optional) to load a .md, .markdown or .txt file. The file's contents appear in the box, so you can tweak them before exporting.
  3. Press Export PDF. The file downloads as document.pdf.

What formatting is supported

The tool understands standard Markdown plus the common GitHub-style additions:

The result is laid out on A4 pages with a white background, comfortable margins and a classic serif font that reads well both on screen and printed.

A quick example

Paste this:

# Project Setup

Follow these steps on a **fresh machine**.

1. Install Node.js
2. Run `npm install`
3. Copy `.env.example` to `.env`

| Command | Purpose |
|---|---|
| npm run dev | Start local server |
| npm test | Run tests |

and you'll get a PDF with a large heading, a bold phrase, a numbered list with code-styled commands, and a bordered table.

Things to know before you export

The PDF pages are rendered as images. The tool draws your formatted document and places each page into the PDF as a high-resolution picture. It looks sharp and prints well, but you can't select or search the text inside the PDF. If you need searchable text, run the PDF through PDF OCR afterwards, which adds a text layer.

Page breaks are made at fixed heights. Long documents are sliced into A4-sized pages, so occasionally a line of text or a table row is split across two pages. If that happens at an important spot, add a couple of blank lines or a short paragraph before it and export again.

Images from other websites may not appear. Markdown images that point to external sites can be blocked from being drawn into the PDF by those sites' security settings. Simple text documents aren't affected.

No syntax highlighting. Code blocks appear in a plain monospace style without colours.

Fixing common issues

"Write some markdown first." The box is empty. Paste text or upload a file before exporting.

My list items run together. In Markdown, a list needs a blank line before it if it follows a paragraph. Add the empty line and export again.

My table shows as plain text with pipes. Check that there's a separator row (like |---|---|) directly under the header row, and that every row has the same number of columns.

The PDF file is large. Image-based pages are heavier than text. For email, shrink it with the PDF Compressor.

Special characters look wrong in my uploaded file. Save the .md file as UTF-8 in your editor before uploading.

Going the other way

Have a PDF you want to edit as Markdown? PDF to Markdown extracts the text and turns larger lines into headings and bullets into list items. That makes a neat round trip: PDF to Markdown, edit, then Markdown to PDF again.

Privacy

Everything runs in your browser. Your Markdown and the generated PDF stay on your device and aren't uploaded to DoraPDF's server, which is handy for internal docs and private notes.

FAQ

Is this Markdown to PDF converter free? Yes. No sign-up, no watermark.

Can I convert a GitHub README to PDF? Yes. Open the README on GitHub, view the raw file, copy all the text and paste it into the tool. Or download the .md file and upload it.

Does it support tables? Yes. GitHub-style tables are supported and get visible borders.

Can I choose a different font or page size? No. The tool uses a fixed A4 layout with a serif font, designed for readability.

Why can't I select text in the PDF? Pages are rendered as images. Use PDF OCR if you need selectable text.

Try the tools from this guide — free

Keep reading

Guide

PDF to Markdown for Obsidian and Notion: Turn Lecture PDFs Into Editable Notes

Convert PDF to Markdown and drop it straight into your Obsidian vault or a Notion page. Free, private, with a cleanup routine that saves time.

Guide

PDF to Markdown for ChatGPT and Other AI Tools: A Free, Private Converter

Turn a PDF into clean Markdown with headings and bullet points kept, ready to paste into ChatGPT, Claude, Notion or Obsidian. Runs in your browser.

Guide

Best Free PDF Website for Students? Why Students Choose DoraPDF

What students need from a free PDF website (no sign-up, no watermark, works on phone, private) and how DoraPDF covers the full assignment chain.