FREE TOOL · ON YOUR DEVICE
Convert TXT to PDF for free
Choose up to 10 text files and create one PDF per file in your browser. Lines, leading spaces and tabs are kept; long lines wrap to the next. It reads UTF-8, UTF-16 with a BOM and, when the file is not UTF-8, Windows-1252, and tells you which encoding was used.
- Free with an account
- Real selectable text
- UTF-8, UTF-16 and Windows-1252
- Choose your TXT files
- Set up the page
- Create and download
HOW TO USE IT
Three steps.
Choose your TXT files
Add up to 10 .txt files of up to 5 MB and 500,000 characters each.
Set up the page
Choose A4 or Letter, margins, font size and, for code or columns aligned with spaces, the monospaced font.
Create and download
Press Create PDF. Each file shows its pages, the encoding read and any characters the font could not draw.
NEXT STEP
Keep going with these tools
TXT to PDF: common questions
Can the PDF text be copied and searched?
Yes. The PDF contains real text with the embedded Noto Sans font (Latin, Cyrillic and Greek scripts), not an image of the page.
What about emoji, Chinese or Arabic?
The included font does not draw them: each one appears as a replacement symbol and the tool tells you how many there were. The rest of the text is kept.
How is the encoding detected?
It uses the BOM if present (UTF-8 or UTF-16). Otherwise it tries UTF-8 and, if that is not valid, reads the file as Windows-1252, used by older Notepad versions, and says so so you can check accents.
Are my files uploaded?
No. The engine and font download from Cocuyo and the file is processed on your device. A free account is required: it comes with 30 welcome uses, then each use costs 1 credit.
Are my documents uploaded to a server?
No. Files are read and converted in your browser. Cocuyo serves local engines; document content is never sent to a server. You can check it in your browser’s network tools: your file is not sent.
Is it really free?
Yes. You can try it before signing up; to download the result we ask for a free account, with no subscription. Your free account comes with 30 welcome uses; after that, each use costs 1 credit (top-ups from US$1), and they are unlimited with Basic or Pro. It never adds a watermark.
MORE FREE TOOLS
Other documents tools
All free tools
WHEN YOU WANT TO CREATE
Make new images with AI.
Cocuyo’s Studio brings 30+ AI models for image, video and voice together. You see the credit cost before generating, and credits never expire.