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 says so when it reads the file as Windows-1252.
- Free account to download
- 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, its size 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.
Can I use it without signing in?
You can use the tool without an account. Downloading the result requires a free account. This local tool does not use credits.
Can I get one PDF from several TXT files?
Not directly: each TXT file becomes its own PDF. When two or more are ready, Create ZIP downloads them together, and to get a single document you can merge the results afterwards with Merge PDF.
How do I keep columns or code lined up?
Tick “Monospaced font (code, columns aligned with spaces)”. That font, Noto Sans Mono, gives every character the same width, so columns made with spaces stay lined up. Leading spaces are kept, and a page-break character inside the file starts a new page.
Why was my file rejected?
Only .txt, .text and .log files, or plain text, are accepted. A file with null bytes, such as a binary file or UTF-16 saved without a BOM, is refused with “The file does not look like text: it contains null bytes.”
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.
































































