Black Friday: 50% off every paid plan with code BF50. Ends 5 December.

See prices

Free tool

Markdown to PDF, clean and clickable.

Paste Markdown or open a .md file, such as a README, notes or an answer from an AI chat, and get a tidy PDF: headings, bold and italic, lists with task boxes, quotes, code blocks, tables and rules. The text stays real text you can select and search, links stay clickable and headings become bookmarks. Pictures dropped with the file are placed in the PDF, and several files can be done at once. The preview is the PDF itself.

Need a custom tool, app or website? Contact us 
Markdown
PDF

Page

Pictures: drop them with the .md file and they are matched by file name. Pictures on other sites cannot be read from here and show as their description. A line with \pagebreak starts a new page.

Press Ctrl or Cmd + S to download. Your settings are kept for next time.

Your Markdown is turned into a PDF in your browser. It is never uploaded.

What it supports

The Markdown you actually use.

01 / Text

Headings and styles

Six heading levels, bold, italic, strikethrough, inline code, links and bare web addresses.

02 / Structure

Lists and quotes

Bulleted and numbered lists, nested lists, task boxes, block quotes and horizontal rules.

03 / Technical

Code and tables

Fenced and indented code in a monospace font, and tables with left, centre and right columns.

Guide

How to convert Markdown to PDF, with real text and links.

A Markdown to PDF converter turns plain text written in Markdown, the format behind README files, notes apps and AI chat answers, into a laid out PDF with headings, lists, tables and code blocks. This one draws every word as real text with embedded fonts, so you can select and search it, and links stay clickable. The preview on the right is the PDF itself, page by page, and it updates as you type.

How to convert Markdown to PDF

  1. Paste your Markdown into the box on the left, or click Open .md to load a file. You can also drop .md files onto the box, with the pictures they use. Click Example to see what the converter handles.
  2. Wait a moment after typing. The PDF on the right redraws about half a second after you stop.
  3. Use the arrows above the preview to step through the pages.
  4. Pick a page Size, the Margins and the Text size.
  5. Choose how Page numbers look, or None, and type a Header on every page if you want one. Headings as bookmarks adds your headings to the PDF reader's side panel.
  6. Click Download PDF, or press Ctrl or Cmd + S. A file you opened keeps its name; pasted text is saved as document.pdf. Your settings are kept for next time.

The first heading in your Markdown becomes the PDF's title, which is the name many PDF apps show in their title bar and in search.

Markdown cheat sheet: what turns into what

You writeIn the PDF
# Title to ###### SmallHeadings, six levels
**bold**, *italic*, ~~struck~~bold, italic and struck through text
`code`A word in a monospace font
[text](https://example.com) or a bare web addressA link you can click
Lines starting with a star, a plus or a dash and a spaceA bulleted list. Indent by two spaces to nest.
1. at the start of linesA numbered list, counted from the first number
[ ] and [x] after a list markerEmpty and ticked task boxes
> at the start of a lineA quote with a coloured bar on the left
Three backticks above and below some linesA code block on a grey background
Rows with | between cells and a line of dashes under the first rowA table, with columns lined up left, centre or right by the colons in that line
Three dashes on a line of their ownA horizontal rule
![a chart](chart.png) on a line of its ownThe picture, if you dropped chart.png in with the file
\pagebreak, \newpage or <!-- pagebreak --> on a line of its ownA new page

Picking page size, margins and text size

The settings decide how much fits on each line. Margins are measured in points, and 72 points make an inch.

MarginsPointsInchesMillimetres
Narrow360.512.7
Normal560.7819.8
Wide801.1128.2

On A4 with Normal margins, the text runs 595 minus 112, or 483 points, which is about 170 mm wide. That suits 11 pt text well. Pick Narrow when you have wide tables or long lines of code that would otherwise wrap, and Wide when the PDF will be printed and someone may write notes in the margin. A5 makes a small booklet page; pair it with Narrow margins and 10 pt so code blocks do not wrap on every line.

How long content breaks across pages

  • A heading never sits alone at the bottom of a page. It moves to the next page with the text that follows it.
  • A long code block carries on to the next page, grey background and all.
  • A long table repeats its header row at the top of each new page, so the columns stay clear.

Pictures, page breaks and bookmarks

Markdown points to pictures by file name, so the page needs the files themselves. Drop or open the .md file together with its pictures (PNG, JPG, GIF, WebP or SVG) and each picture on a line of its own is placed in the PDF, centred and scaled to the text width. Folders in the path do not matter: images/chart.png finds a dropped chart.png. Pictures written as data: addresses work too. A picture that is not found shows as its description, and the message names it.

To start a new page, put \pagebreak, \newpage or <!-- pagebreak --> on a line of its own. Headings of the first three levels become bookmarks, nested by level, so a long document is easy to move around in a PDF reader.

Several Markdown files

Choose or drop several .md files at once. Under Several files, pick One PDF, where each file starts on a new page, or A PDF for each file, which saves them all in one ZIP. Typing in the box after that joins the files into one text.

Saving an AI chat answer as a PDF

ChatGPT, Claude and Gemini write their answers in Markdown, which is why they show headings and bullet lists. Their copy button gives you that Markdown. Paste it here and the PDF keeps the structure, the code blocks and the tables. It is a quick way to keep a set of instructions, a study summary or a plan as a tidy file.

Things to know before you convert

  • Pictures. A picture on another website, or one you did not drop in, shows as its description in square brackets, such as [a chart], because the page cannot fetch files by itself. A picture inside a line of text also shows as its description.
  • Line breaks. A single line break inside a paragraph is joined into one line, as Markdown always does. End a line with two spaces, or leave a blank line, when you want the text to start on a new line.
  • HTML tags. Tags written inside the Markdown are dropped, except line breaks written as <br>.
  • Other scripts and emoji. The text font covers Latin, Greek and Cyrillic letters. Chinese, Japanese, Arabic and emoji show as "?", and the page warns you.
  • File size. A .md file can be up to 5 MB, which is far more text than most documents.

Need a design of your own, with your fonts and colours? Write it as HTML and use HTML to PDF. For notes with no Markdown at all, text to PDF keeps every line as typed. To go the other way, PDF to Markdown turns a PDF back into editable text.

Questions

Good to know.

Is the text in the PDF real text?

Yes. Every word is written as text with embedded fonts, not a picture, so you can select it, search it and copy it, and links open when clicked.

Can I convert an AI chat answer to PDF?

Yes. ChatGPT, Claude and Gemini answers are written in Markdown. Use the copy button under the answer, paste it here and download the PDF.

Do long code blocks and tables break across pages?

Yes. A code block continues on the next page with its grey background, and a long table repeats its header row on each new page. Headings move to the next page rather than sit alone at the bottom.

Why do some letters show as "?"

The text font covers Latin, Greek and Cyrillic letters, and the code font Latin and Cyrillic. Other scripts, and emoji, are not in them and show as "?".

Can I add my own styles?

Choose the page size, margins and text size here. For full control over the look, write HTML and CSS and use HTML to PDF.

How do I convert a README.md to PDF?

Click Open .md and choose the README, or paste its text. Check the preview, then click Download PDF. To include its pictures, choose them together with the README; they are matched by file name.

Does it support GitHub flavoured Markdown?

It supports the common parts: tables with aligned columns, task lists, strikethrough, fenced code blocks and bare web addresses as links. Code is shown in a monospace font without colour highlighting.

Can I add pictures?

Yes. Drop the pictures together with the .md file, or open them with it. Each picture written on a line of its own is placed in the PDF, matched by file name. Pictures on other websites cannot be loaded from here.

Can I convert several Markdown files at once?

Yes. Open or drop them together, then choose one PDF with a new page for each file, or a PDF for each file in a ZIP.

Can I change the font?

No. Text is set in Inter and code in Geist Mono. You can change the page size, margins and text size.

Can I convert Markdown to PDF on a phone?

Yes. Paste the Markdown into the box in your phone's browser and tap Download PDF. The preview works the same way.

Does it support Mermaid diagrams or math formulas?

No. A mermaid block is shown as a code block with its text, and formulas written between dollar signs stay as plain text. For a diagram, save it as a picture and drop it in together with the .md file.

What if my Markdown is Chinese, Hindi or Arabic?

The PDF fonts do not have those letters, so they show as question marks and the page says so. Use Save with all alphabets instead: it opens your browser's print window, which draws the page with the fonts on your computer, and you choose Save as PDF there. Links stay clickable, but bookmarks are not added on that route.

Listed on

Listed on JustMacAppsMotionShine on Mac App IndexMotionShine on ScrollLaunchMotionShine featured on StartupBaseFeatured on FazierFeatured on Twelve ToolsMotionShine - Featured on Smol Launch