How to convert TXT to PDF
- 1
Add one or more .txt files. Several files are joined in the order listed.
- 2
Choose the page size, font and text size.
- 3
Click Convert to PDF and download.
When a text file needs to be a PDF
A PDF looks the same on every device and cannot be changed by accident. That makes it the right format for sending notes, a cover letter drafted in a text editor, a log file as evidence, or a README to someone who should only read it.
Layout
Lines are wrapped at the right margin without breaking words, and blank lines are kept, so paragraphs stay as you wrote them. A new page starts when the current one is full.
Which font to pick
Helvetica reads best for ordinary text. Courier gives every character the same width, which keeps code, logs and text tables lined up.
Other alphabets
English and Western European text is stored as real text that can be selected and searched in the PDF. Arabic, Urdu, Hindi, Russian, Chinese and other scripts are drawn so that every character appears correctly; those pages cannot be searched.
Privacy
The file is read and converted on your device.
Frequently asked questions
Can I combine several text files into one PDF?
Yes. Add them all and reorder with the arrows. Each file starts on a new page.
Are line breaks kept?
Yes. Every line break and blank line in the file is kept.
Can I convert .md, .log or .csv files?
Yes, as plain text. Markdown symbols and commas are shown as typed, not formatted.
Related tools
- PDF to Text Extract the text from a PDF into a plain .txt file.
- Merge PDF Combine several PDF files into one document, in the order you choose.
- Page numbers Insert page numbers into a PDF: choose the position, the starting number and a format like “Page 3 of 12”.
- Protect PDF Add a password to a PDF so it can only be opened by people who know it.
Doxify on your phone
Doxify for Android and iPhone has 25+ document tools, a camera scanner and OCR. Free, and your documents are processed on your phone.