Text to PDF Converter

Paste text or Markdown and download a clean, paginated PDF.

Ad placeholder (leaderboard)
Enjoying the tools? Go Pro for £4.99 (one-time) and remove all ads — forever, on this device. Remove ads — £4.99

The Text to PDF Converter turns raw text or Markdown into a tidy, properly paginated PDF without installing software, signing up, or sending anything to a server. Paste an article, a set of meeting notes, a README, a contract draft or a study sheet, choose how it should look, and download a finished document in seconds. It is built for anyone who has text in one place and needs a clean PDF in another — students printing notes, freelancers sending plain-text quotes, developers exporting Markdown docs, and writers archiving drafts.

Because the whole tool runs inside your browser, it is genuinely private: your words are never transmitted, logged, or stored anywhere except (optionally) in your own browser so your last layout choices are remembered next time. That makes it a safe choice for sensitive material that you would not want to paste into an online uploader.

How it works

When Markdown parsing is on, the tool reads your text with a Markdown lexer and converts it into a flat list of layout blocks — headings, paragraphs, list items, blockquotes, code blocks and rules. Inline marks such as bold, italic and inline code become styled runs so the correct font variant is used word by word. The PDF engine then lays everything out by hand: it measures the width of every word at your chosen font and size, wraps lines to fit the content area, and tracks the vertical cursor. When the next line would cross the bottom margin it opens a fresh page, so content never runs off the edge.

You control the typography and geometry directly: font family, body size, line spacing, margin, page size (A4, Letter, Legal, A5), orientation, paragraph alignment, optional page numbers, an embedded document title and the output file name. Plain-text mode skips Markdown entirely and treats blank-line-separated chunks as paragraphs, preserving your single line breaks — useful when you want the text exactly as typed.

Example

Suppose you have a Markdown README with a top-level heading, a couple of sub-sections, a bulleted feature list and a fenced code block. Paste it in, leave Parse Markdown on, set the font to Helvetica at 11pt with 1.4× line spacing and a 20mm margin on A4, and tick Page numbers. Hit Download PDF and you get a multi-page document where the H1 is large and bold, bullets are indented with markers, the code block sits on a light grey panel in a monospace face, and every page is numbered “1 / 3” in the footer.

SettingEffect
Body size 11pt, spacing 1.4Comfortable reading density
Margin 20mm, A4 portraitStandard document geometry
Justified alignmentClean right edge on full paragraphs
Courier fontMonospaced output for code-heavy text

Every figure and character is processed locally — no text is ever uploaded or saved off your device.

Ad placeholder (rectangle)