How to convert a TXT file to PDF
Any computer can open a TXT text file, but it looks different in every program and can be hard to read on a phone. A PDF fixes the text layout on A4 pages – handy for printing, archiving or sending as an attachment.
- Add the TXT file
Drop one or more .txt files into the box above.
- Convert
The text is placed on A4 pages with margins, in a fixed-width font, so columns and indentation stay where they are.
- Download the PDF
Combine several files into one document or save them separately in a ZIP.
Common uses
- notes and lists to print
- logs and reports from programs
- Notepad texts to send as an attachment
- simple tables aligned with spaces
Text encoding
We read files saved in UTF-8 and automatically detect older Notepad files in Central European Windows encoding.
Frequently asked questions
Will long lines be cut off?
No, long lines are wrapped and the text is split across pages.
Can I select the text in the PDF?
No, the pages are saved as images so they look the same everywhere. If you need the text, copy it from the TXT file.
Can I change the font?
No, we use a readable fixed-width font. For formatted text, Markdown or Word works better.