Turn plain text into a formatted PDF right in your browser — paste text or upload a .txt file, pick a font and page size, and download the result. Nothing is ever uploaded to a server.
Drag and drop a .txt file here, or click below to browse.
— or paste/type text below —
Plain text is the simplest, most universal way to write — no formatting to fuss over, works in any editor, easy to version and diff. But plain text (.txt) isn't always the right format to actually share or hand off: it has no fixed page layout, prints inconsistently across different software, and looks distinctly unfinished compared to a proper document. Converting to PDF turns loose text into something with defined pages, consistent margins, and a predictable appearance wherever it's opened — the same reason PDF became the standard for sharing finished documents in the first place.
This comes up in all kinds of everyday situations: turning a plain-text draft into something presentable enough to send along, converting notes or a script into a paginated document for printing, or simply needing a quick, no-fuss way to produce a PDF from text without opening a full word processor and manually formatting a document just to export it.
This tool works by measuring your text against your chosen font and size, breaking it into lines that fit within the page's margins (a process called word wrapping), and then placing those lines onto pages one after another — starting a fresh page automatically whenever the current one runs out of vertical space. Blank lines in your input become paragraph breaks in the output, giving the result a natural, readable structure even without any explicit formatting markup.
Every step of this — measuring text, wrapping lines, laying out pages — runs directly in your browser's JavaScript engine using a PDF-construction library, and produces a completely standard, fully compliant PDF file that opens correctly in any PDF reader, exactly as if it had been exported from a full desktop word processor.
This tool deliberately doesn't try to interpret markdown-style syntax, guess at headings, or infer formatting from your text — it takes exactly the words you give it and lays them out consistently, with no surprises or misinterpretations. That's a meaningful tradeoff: you don't get bold text or headings automatically, but you also never get formatting applied incorrectly or unpredictably, which is a real risk with tools that try to be clever about interpreting plain text as if it were markup.
For most everyday purposes — turning notes, a draft, or a script into a shareable, properly paginated document — a single consistent font and clean word wrapping is exactly what's needed, and it's a result you can predict and trust every time, regardless of what your text happens to contain.
Use blank lines deliberately to separate paragraphs — this tool preserves them as visual breaks in the output, which makes a real difference in readability for longer text. If you're pasting from another source (an email, a webpage, a document), paste as plain text where possible rather than rich text, since this tool only reads the raw characters anyway and stray invisible formatting characters occasionally cause unexpected line breaks.
For documents with any tabular or code-like content, choose the Courier font — its fixed character width keeps columns and indentation visually aligned in a way a proportional font like Helvetica or Times can't. And if your text includes characters outside the standard Latin/Western-European range (emoji, Cyrillic, CJK scripts, and similar), remove or replace them before converting, since standard PDF fonts can't display them and conversion will stop with a clear explanation rather than silently corrupting the output.
Word to PDF builds a new PDF from plain text. These related PDF tools cover the rest of a typical PDF workflow — going the other direction, and combining or converting documents.