Skip to content
Data & Document Tools

Text to PDF Converter

Turn a plain .txt file into a paginated, nicely margined PDF document in seconds.

Drag & drop your file here, or browse

Accepted: .txt,text/plain — Output: .pdf

Everything runs locally in this browser tab. Nothing is uploaded to any server.

How to use this tool

StepWhat to doDetails
1Add one .txt fileSelect the plain text file you want to turn into a document.
2Choose a font sizePick a comfortable reading size — 12pt fits most documents.
3Click "Create PDF"Your text is wrapped and paginated automatically onto A4 pages.

A plain .txt file is honest about what it is: no fonts, no page breaks, no margins, just characters. That’s exactly why it’s such a common format for a first draft — a script, a set of meeting notes, a chapter of a manuscript, a list of instructions typed out in Notepad or a bare-bones editor with nothing getting in the way of just writing. The trouble starts when that draft needs to leave your text editor. Email it as a .txt attachment and most people will open it looking like a wall of monospace text with no sense of where one page ends and another begins. Print it directly and you get whatever your printer driver decides margins should be. This tool takes that plain text and turns it into an actual paginated PDF — sized to A4, properly margined, wrapped at sensible line lengths — so it looks like a document instead of a code dump.

What’s happening to the text

The conversion reads your file and measures it against the page. Each paragraph gets wrapped word by word: the tool checks how wide a line of text would be at your chosen font size and breaks it at the nearest word boundary once it would run past the margin, rather than cutting mid-word the way a fixed character count would. Blank lines in your original file are preserved as blank lines in the output, so paragraph breaks and any deliberate spacing you typed in survive the trip. Once a page fills up, a new one starts automatically — there’s no page limit built in, so a ten-page manuscript paginates just as cleanly as a one-page note, without you ever having to think about where the breaks fall.

Why font size is the one setting that matters here

You get a choice of 10, 12, or 14 point, and it’s worth picking deliberately rather than leaving it on the default. Since the source is unformatted text, the font size is really the only lever you have over how the finished document reads and how long it runs. Twelve point is the safe, familiar choice — it reads like a standard manuscript or letter and keeps the page count close to what you’d expect from the word count. Ten point squeezes more onto each page, useful if you’re trying to keep a long script or transcript to a reasonable number of physical pages. Fourteen point is easier on the eyes for anything meant to be read at a glance or from a bit of a distance, at the cost of noticeably more pages for the same amount of text. There’s no wrong answer, but it’s worth trying more than one setting if page count matters to whoever’s receiving the file.

A few situations where this earns its keep

Writers reach for this constantly for exactly the reason you’d expect: a manuscript chapter, a short story, or a full draft sitting as a .txt file in a plain editor needs to go to a beta reader, an agent, or a writing group, and “here’s my raw text file” reads as less finished than a properly paginated PDF, even though the content is identical. Podcasters and video creators use it for scripts — turning a plain-text episode outline or shot list into something that can be printed and read from during recording, rather than scrolled through on a second monitor. It shows up in more mundane office contexts too: someone drafts a policy, a set of internal notes, or meeting minutes as plain text because that’s the fastest way to get thoughts down, then needs a shareable, printable version to actually circulate — a PDF that opens identically on any device, rather than a text file that looks slightly different depending on which app opens it.

What it deliberately doesn’t do

It’s worth being clear-eyed about the limits here, because they follow directly from the input. A plain .txt file carries no formatting information at all — no bold, no italics, no headings, no bullet points, no embedded images — so none of that can appear in the output either; the tool can only paginate and lay out what’s actually in the file, not invent structure that was never there. There are no page numbers, headers, or footers added automatically, and no cover page. If your source document already has real formatting — a Word file with headings and styled text, for instance — this isn’t the right tool for it, since converting it to plain text first would strip out the very formatting you’d want to keep. This one is specifically for text that starts out plain and just needs to become a properly laid-out, printable document, not for reformatting something that already has structure.

Worth knowing

  • Very long lines with no natural break points — a long URL, for instance — will still wrap at whatever character fits, since there’s no whitespace for the word-wrapping logic to use.
  • The page size is fixed at standard A4; there’s no Letter-size option, which is worth knowing if you’re printing somewhere that defaults to Letter paper.
  • Because everything runs locally in your browser using a PDF-generation library rather than a server-side conversion, nothing about your draft — however unfinished or personal — gets uploaded anywhere. It’s built, downloaded, and gone from memory the moment you close the tab.

There’s something satisfying about watching a scrappy text file turn into a document that actually looks like one — margins in the right place, pages breaking sensibly, text sized for reading rather than for a code editor. For anything that started life as plain text and just needs to look presentable before it goes out the door, that’s the whole job done in the time it takes to click a button.