Convert TXT to PDF

Turn TXT files into PDF. Printed on A4 pages in a fixed-width font, line by line, so spaces and indentation stay where they were.

Converted in an isolated sandbox on our serversDeleted after 24 hours

Drop TXT files on the dialor turn it to pick what to do

Plain text on fixed pages.Each line of your text file is printed on A4 pages in a fixed-width font.

  1. What you get

    One PDF with your text on A4 pages. The text is set in a fixed-width font, line by line, so spaces and indentation stay where they were.

    Columns, aligned tables and indented code keep their shape, because each character takes the same width as the others.

  2. Long lines

    A line longer than a page is wide wraps at the page edge. The rest of the line continues below it.

TXT and PDF.What each format is.

The formats

From · TXT

Plain Text

Plain text with no formatting at all. The smallest, most portable form of a document.

Extensions
.txt .log
MIME type
text/plain
Kind
Text and data
To · PDF

PDF

Fixed-layout pages that look the same everywhere. The exchange format for anything that will be printed or signed.

Extensions
.pdf
MIME type
application/pdf
Kind
Documents

In your code.The same TXT to PDF conversion through the API, for your app or your agent.

terminal
$ cv convert report.txt report.pdf
$ cv convert report.txt report.pdf

Questions.What people ask about TXT to PDF.

01OF 04

Yes. The text is printed line by line in a fixed-width font, so spaces and indentation stay where they were.

They wrap at the page edge. The rest of the line continues below.

A4. The text is printed on A4 pages.

Yes. PDF to TXT goes the other way.

More conversions.Other ways in and out of TXT and PDF.