Turn plain text files into well-formatted PDFs with proper typography, page numbers, and your choice of font. Useful for sharing or printing notes.
A .txt file has no pages, no margins, and no typeface. This tool wraps the text in a ReportLab A4 document: UTF-8 decoded, XML-escaped, one paragraph per non-empty line, extra space for blank lines. It is for notes and logs you want to share or print — not for designed layouts.
A blank line in your .txt creates a paragraph break in the PDF. If your text is one wall of prose, split it into visible paragraphs before converting or the result reads like a continuous scroll.
Special characters (é, 中文, العربية) render correctly only when the file is UTF-8 encoded. Most modern editors default to UTF-8, but older Windows Notepad can still save as ANSI — check Save As → Encoding.
Bold, italic, headings, and bullets aren't recognised in plain text. For a styled PDF with minimal effort, write in Markdown and use Markdown → PDF.
The file is decoded as UTF-8 (invalid bytes dropped), each line is XML-escaped so a stray < or & cannot break the PDF, and SimpleDocTemplate writes A4 pages. Non-empty lines become Paragraph objects; empty lines become an 8-point spacer.
Lines in Arabic or Hebrew are set in the Noto fonts on our server, with the letters joined and the line read right to left. Chinese, Japanese and Korean use ReportLab's built-in CJK fonts, which your PDF reader draws with its own fonts. Markdown → PDF and HTML → PDF work the same way. Emoji and scripts such as Devanagari or Thai are not supported yet and can show as boxes; Office → PDF (LibreOffice with Noto fonts) handles more scripts.
Asterisks, hashes, and backticks are printed literally. If you want those to become headings and code, use the Markdown tool — it is a different parser on the same ReportLab backend.
ReportLab lays the text on A4 with default margins. Each non-empty line becomes a paragraph. A blank line inserts extra space. There is no heading detection and no bold.
UTF-8. Bytes that are not valid UTF-8 are ignored rather than crashing the conversion.
Yes — ReportLab paginates across as many A4 pages as the text needs.
It looks like a clean typescript. For headings, lists, and code blocks, use Markdown → PDF instead.
Guests: 10 MB. Free accounts: 25 MB. Pro: 500 MB. Very large text files may take a moment to process.