01 / Text
Headings and styles
Six heading levels, bold, italic, strikethrough, inline code, links and bare web addresses.
Free tool
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 →Page
Several files
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
01 / Text
Six heading levels, bold, italic, strikethrough, inline code, links and bare web addresses.
02 / Structure
Bulleted and numbered lists, nested lists, task boxes, block quotes and horizontal rules.
03 / Technical
Fenced and indented code in a monospace font, and tables with left, centre and right columns.
Guide
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.
.md files onto the box, with the pictures they use. Click Example to see what the converter handles.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.
| You write | In the PDF |
|---|---|
# Title to ###### Small | Headings, 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 address | A link you can click |
| Lines starting with a star, a plus or a dash and a space | A bulleted list. Indent by two spaces to nest. |
1. at the start of lines | A numbered list, counted from the first number |
[ ] and [x] after a list marker | Empty and ticked task boxes |
> at the start of a line | A quote with a coloured bar on the left |
| Three backticks above and below some lines | A code block on a grey background |
Rows with | between cells and a line of dashes under the first row | A table, with columns lined up left, centre or right by the colons in that line |
| Three dashes on a line of their own | A horizontal rule |
 on a line of its own | The picture, if you dropped chart.png in with the file |
\pagebreak, \newpage or <!-- pagebreak --> on a line of its own | A new page |
The settings decide how much fits on each line. Margins are measured in points, and 72 points make an inch.
| Margins | Points | Inches | Millimetres |
|---|---|---|---|
| Narrow | 36 | 0.5 | 12.7 |
| Normal | 56 | 0.78 | 19.8 |
| Wide | 80 | 1.11 | 28.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.
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.
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.
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.
<br>..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
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.
Yes. ChatGPT, Claude and Gemini answers are written in Markdown. Use the copy button under the answer, paste it here and download the PDF.
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.
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 "?".
Choose the page size, margins and text size here. For full control over the look, write HTML and CSS and use HTML 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.
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.
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.
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.
No. Text is set in Inter and code in Geist Mono. You can change the page size, margins and text size.
Yes. Paste the Markdown into the box in your phone's browser and tap Download PDF. The preview works the same way.
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.
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.