TXT to PDF turns a plain text file into a paginated, printable PDF document. The conversion looks trivial on the surface — copy some characters, produce a PDF — but plain text is the one common document format that carries no formatting information whatsoever. A .txt file is nothing but a sequence of characters and line-break bytes. It has no concept of a font, a page, a margin, a bold word, or even a paragraph in the way a word processor understands one; a "paragraph break" in a text file is really just two consecutive newline characters, and a word processor's idea of automatic line wrapping does not exist at all — every line break in the source is either something the author typed deliberately or something a previous tool inserted arbitrarily at a fixed column width. Converting text to PDF means the tool has to make every layout decision that the source file simply never recorded: what font to render it in, how large that font should be, where the margins fall, what page size to target, and — critically — whether an overly long line should be wrapped to fit the page or left alone because wrapping it would change what the line means.
That last decision matters more than it sounds. For ordinary prose — notes, letters, meeting minutes — wrapping long lines at the margin is exactly what you want, and it is what this tool does by default: text flows naturally down the page the way it would in any document. But plain text also carries a lot of content where line breaks are structural, not incidental. Source code relies on consistent indentation and column alignment to stay readable; a log file's columns of timestamps, log levels, and messages only line up if every character occupies the same width; a monospaced font is what makes those columns actually line up, because in a proportional font like the one this paragraph is set in, a lowercase "i" and an uppercase "W" take up different amounts of horizontal space and any column alignment built on fixed character counts collapses. That is why this tool offers a genuine choice between Helvetica, a proportional font suited to prose, and Courier, a fixed-width font that keeps code indentation, log columns, and tabular plain-text output aligned exactly as typed.
Encoding is the other place plain text quietly complicates things. A text file has no header declaring what character encoding it was saved in — UTF-8, the modern default that covers virtually every language and symbol, versus older encodings like Windows-1252 or Latin-1 that some legacy tools and very old exported files still use. A file saved in one and read as another can turn ordinary accented letters or curly quotation marks into garbled symbols. This tool reads files as UTF-8, which correctly covers the overwhelming majority of text files produced by any modern editor — Notepad, VS Code, TextEdit — terminal, or export tool; a very old file that predates UTF-8 adoption is the one case where you might see an unexpected character.
Because everything — reading the file, calculating word-wrap, laying out pages, and rendering the final PDF with pdf-lib — happens locally in your browser, the text you convert never leaves your device. That is worth mentioning specifically for this format, since plain text is disproportionately likely to contain things people would rather not upload anywhere: server logs with internal hostnames, config files with connection strings, draft notes, or source code under an NDA. Converting a text file to PDF this way is completely free, with nothing to install.
Once you have the PDF, Watermark PDF can mark it as a draft, or Merge PDF combines it with other documents.