TXT to PDF
Convert to
Tools for this file
Your files never leave your device.
Each text file becomes one PDF set in Courier, so columns line up; long lines wrap at spaces. The file must be UTF-8, or UTF-16 with a byte order mark. For now, the text can contain only Latin letters of Western European languages, digits and common symbols.
Questions about TXT to PDF
How does TXT to PDF work?
TXT to PDF sets a plain text file on A4 or Letter pages in Courier, a monospaced font, so columns, code and ASCII tables line up as they do in a text editor. Long lines wrap at spaces, and the text in the PDF stays selectable.
How many characters fit on a line?
At the default 11 pt on A4, 73 characters and 55 lines per page, inside 0.75-inch margins. Lower the text size to fit more on each line. A line that is too long wraps at the last space that fits, and a word longer than a line, such as a web address, is broken at the edge and carries on at the start of the next line.
Why was my text file refused?
Either it isn't saved as UTF-8 or as UTF-16 with a byte order mark (old Windows-1252, Shift_JIS or GBK files, for example), which is refused rather than guessed, or it contains characters outside Western European Latin, such as Chinese, Japanese, Korean or emoji, which Courier can't show yet. The message names those characters instead of leaving gaps. A text that would fill more than 2,000 pages is refused too: split it into smaller files first.
What happens to tabs and page breaks?
Tabs become spaces up to the next multiple of 8 characters, as most editors show them. A form feed character starts a new page; several in a row start only one, and blank lines or form feeds at the very start or end don't add an empty page.
Can I combine several text files into one PDF?
Each text file becomes its own PDF, named after it, so notes.txt gives notes.pdf. To join them, put the PDFs through Merge PDF afterwards.