About this tool
Markdown is the quickest way to write something structured, but sharing it usually means a PDF. This tool turns your Markdown, or any plain text, into a finished PDF with a real page layout, and shows you the actual pages while you type, with the same line and page breaks the file will have.
Five looks are built in: Clear (modern sans with blue accents), Report (numbered headings and a teal accent), Book (a classic justified serif), Technical (dark code panels) and Plain (black ink only, made for printing). Each sets the fonts, headings, tables, quotes and code colours together. You can swap the text font, size, paper and margins, and add a header, a footer and page numbers.
The PDF is a proper document, not a picture: text is selectable in the real fonts, links work, links to headings jump to the right page, and headings appear in the bookmarks panel. Turn on the contents page to get a list of headings with dotted leaders and page numbers. Everything happens in your browser. Your text and pictures never leave your device, and pictures are never fetched from the web — add them from your device instead.
How to use Markdown & Text to PDF
- Type or paste your text in the left box, or press “Open a file” to load a .md or .txt file. Choose “Plain text” if your text isn’t Markdown.
- Pick a look: Clear, Report, Book, Technical or Plain. The pages on the right update as you go.
- Optional: open More options to change the text font, size, paper, margins, page numbers, header and footer, or to add a contents page.
- To add a picture, press the picture button, paste a picture into the text, or drop picture files onto it.
- Press “Create PDF”, then “Download PDF”.
A project update in Markdown with two tables and a screenshot becomes an A4 PDF in the Report look: numbered sections, a contents page, table headers repeated on new pages, and “Page 2 of 4” in the footer.
Features
- Headings, paragraphs, bold, italic, strikethrough, inline code and links (clickable in the PDF).
- Bulleted, numbered and tick-box lists, nested as deep as you like, and block quotes.
- Code blocks in a monospaced font with a light colour tint for keywords, strings, comments and numbers.
- Tables with left, centre or right aligned columns, sized to their content, with the header row repeated on each new page.
- Pictures from your device (JPG, PNG, WebP, HEIC and more), pasted pictures, and pictures written into the text as data links.
- Page breaks with a ---pagebreak--- line (or \newpage), and a contents page with page numbers and links.
- Five designed looks, nine bundled fonts, A4 or US Letter, three margin sizes, three text sizes.
- Header and footer text with {page}, {pages}, {title} and {date}, and page numbers as “1” or “Page 1 of 3”.
- Plain text mode that keeps every line break and space, in a typewriter font or the look’s font.
- PDF bookmarks for every heading; your draft is kept in this browser. No upload, sign-up or watermark.
Tips and good to know
- Pictures named in the text (for example ) appear once you add a file with that name. Web addresses for pictures are not downloaded: save the picture and add it instead.
- Put [TOC] on a line of its own to place the contents list exactly where you want it; otherwise the Contents option puts it straight after the title and starts your text on a new page.
- Every font covers Latin letters with accents, and most cover Vietnamese and Cyrillic too. Emoji and scripts such as Chinese, Arabic or Hindi aren’t in these fonts and show as “?” — the preview warns you when that happens.
- Pictures you add are kept only while the page is open; the text and options are saved automatically.
Frequently asked questions
Is my text uploaded anywhere?
No. The pages are laid out and the PDF is made in your browser, on your device. Your text and pictures are not sent to any server, and pictures are never fetched from the web.
Is it free? Are there limits?
It’s free with no sign-up and no watermark. Text files up to 5 MB open, which is far more than most documents; very long documents simply take a little longer to lay out.
Can I copy and search the text in the PDF?
Yes. Text is stored as real text in embedded fonts (only the letters you used), so it can be selected, searched, copied and read by screen readers and other software.
Which Markdown does it understand?
The common CommonMark and GitHub style: headings, emphasis, strikethrough, links, pictures, lists including tick boxes, quotes, code blocks, tables and divider lines. Footnotes, maths and diagrams are not supported, and HTML tags are shown as typed.
How do I start a new page?
Put ---pagebreak--- on a line of its own, or press the page break button in the toolbar. \newpage, \pagebreak and <!-- pagebreak --> work too, so files written for other tools behave the same.
Does it work on a phone or offline?
Yes, it works on phones and tablets: switch between Write and Pages above the text box. Once the page and the fonts of your chosen look have loaded, making the PDF needs no connection.
Why does the PDF look the same as the preview?
Both are drawn from the same layout, with the same fonts and the same line and page breaks, so what you see on the right is what the PDF will contain.
Page last reviewed