MD to PDF

MD to PDF,
from any .md file

A free MD to PDF converter. Drag a .md file straight onto the page, or paste the Markdown, and download a clean PDF — no watermark, no account, nothing stored.

document.md
Source
77 lines · 308 wordsLn 1, Col 1

What a .md file actually is

A .md file is plain text with a few punctuation conventions — hashes for headings, asterisks for emphasis, pipes for tables. Nothing inside it describes a page. That is why double-clicking one opens a text editor showing the raw symbols, and why pasting it into a word processor gives you a wall of hashes and asterisks rather than a document.

Why .md files convert badly elsewhere

Converting Markdown to PDF means deciding things the file never specified: page size, margins, where a page breaks, what a code block looks like. Most converters make those decisions invisibly, then show you the result only after you have downloaded it.

  • Free tiers commonly stamp a watermark across every page, and the watermark text lands in the PDF's text layer, which breaks copy-paste and search
  • Page breaks land mid-heading or mid-table because nothing is controlling them
  • Bold and italic are synthesised rather than embedded, so the type looks smeared in print
  • Diagrams and maths are dropped entirely, or rendered as images that print blurry

How to convert MD to PDF

Drag the file onto the page or use Open in the toolbar. Files up to 2 MB are accepted, which covers essentially any document. The preview that appears is the real page at the real width with the real margins, so a line that wraps on screen wraps in the PDF. Adjust the typeface, page size and margins if you want, then click Download PDF.

What survives the conversion

Everything GitHub-flavoured Markdown supports, plus the things most converters quietly drop.

  • Tables, task lists, footnotes and nested lists
  • Syntax-highlighted code in around 200 languages
  • Mermaid diagrams and LaTeX maths, drawn as vector graphics
  • Every heading as a real PDF bookmark, so long files stay navigable
  • Clickable links, and a tagged file that screen readers can read

A worked example

Nothing here needs to be learned before it will work — this is an ordinary .md file, and every part of it survives the conversion. The front matter at the top becomes the title page if you switch that on, rather than being printed as a stray horizontal rule. The dollar amounts stay dollar amounts.

---
title: Quarterly Report
author: A. Writer
---

# Quarterly Report

## Summary

Revenue grew **18%** year on year, driven by the $0.99 tier.

| Region | Q3      | Q4      |
|--------|--------:|--------:|
| EMEA   | $41,200 | $48,600 |
| APAC   | $28,900 | $35,100 |

- [x] Figures reconciled
- [ ] Board review

> Costs are quoted per seat, per month.
Paste this into the editor to see each feature render.

What the controls actually change

The panel on the right is the whole of the formatting model; there is nothing hidden behind a paid tier. Every change re-renders the preview immediately, and the preview is the same renderer that produces the file.

  • Typeface, body size and line height — the three that decide how many pages you end up with
  • Page size and orientation, including A4, Letter and Legal, plus landscape for wide tables
  • Margins, from narrow for reference material to wide for anything that will be annotated
  • Title page and a linked table of contents, both off by default
  • Page numbers, on by default and switchable per document
  • Colours for text, headings, links and accents, if the document has to match a house style

.md versus .markdown as file extensions

Both extensions describe the same thing — plain text written in Markdown. The short form is far more common, because it is what GitHub and most static site generators default to; the longer one turns up occasionally, mostly from tools in the Jekyll and Ruby ecosystem. This converter reads the file's text content rather than trusting its extension, so either works identically, and so does a .txt file containing Markdown.

Where .md files usually come from

A few common sources, each with a quirk worth knowing about: an export from Notion, a note from an Obsidian vault, a README or docs folder in a Git repository, or a content file from a static site generator such as Hugo, Jekyll, Astro or Docusaurus. Several of these — Notion exports in particular — put a block of YAML front matter at the very top of the file, between two lines of dashes, listing metadata as key-value pairs. That block is meant for the original system rather than as visible content, and it is recognised here rather than printed, so it will not appear as a stray run of dashes in the output.

Common questions

How do I convert a .md file to PDF?

Drag the .md file onto this page, or use Open in the toolbar. The preview shows the exact page you will get; click Download PDF to save it. No account and no upload step are involved until you ask for the PDF.

Is the MD to PDF conversion really free?

Yes, with no watermark, no page limit and no payment. There is nothing to unlock and no paid tier holding back the output.

Can I convert several .md files at once?

Not yet — files are converted one at a time. Each conversion takes a second or two, so a handful of documents is quick even one by one.

Does the capitalisation of the .MD extension matter?

No. Extensions are treated case-insensitively, so a file named README.MD is handled exactly the same as readme.md, and the file picker accepts both.

Can I paste Markdown copied from a chat app instead of uploading a file?

Yes. The editor draws no distinction between pasted text and an opened file, so copying Markdown source from anywhere — a chat, a Notion page, a terminal — and pasting it in works the same as dragging a .md file onto the page.

What is the difference between this page and the home page?

Nothing functional — both run the same converter with the same options. This page exists for people searching specifically for “.md to PDF” rather than the broader “Markdown to PDF” phrase, and its copy answers the questions that phrasing tends to come with.