Organize
Merge PDF Split PDF Remove Pages Extract Pages Organize PDF Rotate PDF
Optimize
Compress PDF Repair PDF
Convert · To PDF
JPG to PDF PNG to PDF WEBP to PDF TXT to PDF Scan to PDF
Convert · From PDF
PDF to JPG PDF to PNG PDF to WEBP PDF to TXT
Edit
Edit PDF Add Text Add Image Add Signature Highlight PDF Draw on PDF Add Shapes Add Page Numbers
Security
Watermark PDF Remove Metadata
Company
About Us Contact

TXT to PDF Converter

Turn a plain text file into a neatly formatted PDF. Choose the font, size, spacing, margins and page size.

Convert plain text to a PDF

A .txt file has no layout of its own, so it looks different in every program. Converting it to PDF fixes how it looks and prints. PIXPDF lays the text out with the font, size, line spacing and margins you choose and breaks it across pages automatically.

You can pick Helvetica (sans-serif), Times (serif) or Courier (monospace, good for code and logs), and add page numbers when the document is long.

How to convert TXT to PDF

  1. 1

    Add your text file

    Click Choose Files or drop a .txt file into the box.

  2. 2

    Choose typography

    Pick a font, a size from 9 to 16 pt and the line spacing, from tight to double.

  3. 3

    Set the page

    Choose margins and page size (A4, US Letter or A5). Tick Add page numbers if you want them.

  4. 4

    Convert and download

    Click TXT to PDF and download the file.

Why convert TXT to PDF with PIXPDF

Readable typography

Choose from three standard fonts, five sizes and four line-spacing settings.

Automatic pagination

Long text flows onto as many pages as it needs.

Page numbers

Optional numbering for longer documents.

Private

Your text is converted in your browser and not uploaded.

When TXT to PDF is useful

Notes and drafts

Share plain notes as a tidy document.

Logs and code listings

Use Courier for fixed-width text.

Print-ready text

Control margins and size before printing.

Archiving

Keep text in a format that looks the same everywhere.

Frequently asked questions about TXT to PDF

Add your .txt file, choose font, size, spacing and page settings, then click TXT to PDF and download the result.
Helvetica (sans-serif), Times (serif) and Courier (monospace).
Font size can be 9, 11, 12, 14 or 16 pt.
Yes. Tick Add page numbers and they are added to each page.
A4, US Letter and A5, with narrow, normal or wide margins.
The tool uses standard PDF fonts, which cover common Western European characters. Scripts such as Chinese, Arabic or emoji may not display correctly.
This tool converts plain .txt files only.
No. The conversion runs in your browser.