Skip to content
All tools

TXT to PDF

A text file as a tidy, printable PDF.

Turn a text file into a PDF

  1. 1

    Choose a text file

    Notes, a log, code or any .txt file.

  2. 2

    Pick the layout

    Page size, margins, text size, font and page numbers.

  3. 3

    Download

    Long lines wrap at the page edge and new pages start as each fills.

Questions

Which files work?
Plain text in UTF-8, UTF-16 or Windows-1252, the encodings almost every editor saves in. Code, CSV, JSON and log files work too. Word, RTF and other formatted files aren't plain text.
Which letters and languages work?
Latin letters with any accents, Greek and Cyrillic, in an embedded font that every PDF reader shows the same. Chinese, Japanese, Korean, Arabic, Hebrew and Indian scripts aren't supported yet: those letters are left out, and the result says how many.
Can I change how it looks?
Pick A4 or Letter, narrow, normal or wide margins, a text size from 9 to 14 pt, and page numbers at the foot of each page. Monospace gives every letter the same width, for code and text laid out in columns.
Can I start a new page where I want?
Yes. A form feed character in the file starts a new page, as it does on a printer.
Are my files uploaded?
No. They are converted in your browser and never leave your device. Files up to 50 MB free, 500 MB with Pro.

More tools