Convert TXT to PDF

Text is laid onto pages at 12 points, and line breaks come from the file itself rather than being redone.

Convert TXT to PDF and the text file is laid onto pages at 12 points. Line breaks come from the file itself, so columns aligned with spaces and indented code do not fall apart.

What happens when you convert TXT to PDF

A text file carries no pages, no margins and no font: how it looks is decided each time by whatever program opens it. The same log can easily appear one way on your screen and another on a colleague’s.

Converting assigns the document a typeface and the edges of a sheet. Lines stay exactly where they were in the source, because the breaks are taken as they are rather than recalculated.

  • Line breaks are preserved precisely as the file has them.
  • Space-based alignment holds, so ASCII tables and code indentation stay readable.
  • The text is set at 12 points, and the size cannot be changed.
  • A very long unbroken line runs past the edge of the page, so it is better split beforehand.
  • Cyrillic and other Unicode characters carry over intact.

How to convert TXT to PDF

  1. Upload your TXT file on this page.
  2. Pick PDF as the output format.
  3. Click “Convert”.
  4. Download the finished document.

What usually gets sent this way

  • Attach a chunk of a log to a support ticket without a mail client reflowing it.
  • Pass an export or a list along with a report as one document.
  • Submit a transcript where only PDF is accepted.
  • Print notes or instructions without wrestling with a text editor’s print settings.

Limits

  • File size: up to 50 MB as a guest, up to 100 MB with a free account.
  • Formatting is applied automatically: font, margins and columns cannot be chosen.
  • A text file of a few megabytes turns into a document of hundreds of pages.

Preparing the file

  1. Wrap long lines at roughly 90 characters so nothing runs off the sheet.
  2. Save the file as UTF-8 if it contains non-Latin characters.
  3. Remove stray blank lines, which become empty space on the page.

Other directions for TXT

FAQ

Can I choose the font or the margins?

No, the formatting is applied automatically at 12 points. To control how the document looks, get a DOCX first.

Is space alignment preserved?

Yes. Lines carry over as they are, so tables built from spaces and indented code hold their shape.

What about very long lines?

They are not wrapped automatically and can run past the page edge. Such lines are worth splitting in the source file.

Are non-Latin alphabets supported?

Yes, provided the file is saved as UTF-8. A file in a legacy encoding is better re-saved before uploading.

More about the formats

What the format is, how to open it and how it differs from the others.