TXT to PDF — Turn Plain Text Into a Printable Document
Convert any .txt file into an A4 PDF with clean margins, sensible line spacing, and automatic word wrapping. Ideal for turning code snippets, notes, chat logs, or exported data into something you can print or share.
Auto-wraps long lines
Long lines are broken at word boundaries so nothing runs off the page. Line endings from Windows, Mac and Linux (CRLF, CR, LF) are all handled.
Uses standard Helvetica
The output uses a standard PDF font so the file is small and opens quickly anywhere — no font-embedding overhead.
Frequently Asked Questions
Does it support UTF-8 (accents, non-Latin scripts)?
Basic Latin characters render correctly. Cyrillic, Arabic, CJK and emoji fall outside standard Helvetica and may render as boxes.
Can I change page size or font size?
The output is fixed at A4 / 11pt for consistency. For custom layouts, paste your text into Word and export.
Does it preserve tabs and indentation?
Tabs render as single spaces. For code with strict indentation, use HTML to PDF with a <pre> block instead.