Runs in your browser · nothing is uploaded

TXT to PDF

Make a tidy PDF from a text file: A4 pages, margins, wrapped lines and a font that covers Latin, Cyrillic and Greek. Your file never leaves your device.

Three steps

  1. 01

    Add a TXT file

    UTF-8 and legacy Windows-1251 files both work.

  2. 02

    Pick a font size

    Small, normal or large.

  3. 03

    Download the PDF

    A4 pages with tidy margins.

Use cases

Need to send the finished PDF somewhere? Open compression for the limit you face and PDFKilo picks the level for your file.

Why PDFKilo

Fully private

Files are processed in your browser. Not a single byte reaches a server.

No watermarks

No logos on pages, no sign-up and no limit on files.

Free

Every tool is free; the site is funded by ads.

Any device

Desktop, iPhone or Android: all you need is a browser.

FAQ

How does a TXT file become a PDF?

We read the text, wrap lines to the page width and lay it out on A4 sheets with margins. The DejaVu Sans font is embedded, so letters look the same on every device.

Does the text file encoding matter?

UTF-8 files and legacy Windows-1251 texts both open correctly: we detect the encoding for you, so no garbled characters.

Can I select text in the PDF?

Yes. The text stays text: you can select, copy and search it.

What happens to very long lines?

They wrap at word boundaries. Words longer than a line, such as links, wrap by character.

Are page breaks supported?

Yes. A form feed character, which some programs insert, starts a new page.

Which font size should I pick?

Normal 12 pt suits reading and printing, small 10 pt fits more per page, and large 14 pt is easier to read on a phone.

Is my file uploaded?

No. The PDF is created in your browser.

More PDF tools

Compress for a task