Skip to content

TXT to PDF

Turn plain text or a .txt file into a clean, paginated PDF with your choice of font, size, spacing, margins and page numbers.

In-browser · no upload TXT → PDF

Runs entirely in your browser. Your files and text are not uploaded to our servers.

To convert text to PDF, paste your text (or choose a .txt file), pick a font, size, page size and margins, and select Create PDF. Long text flows automatically across pages, and page numbers can be added at the bottom.

How to use the TXT to PDF

  1. 1

    Add your text

    Paste it and choose “Use this text”, or choose a .txt file.

  2. 2

    Style the page

    Helvetica, Times or Courier; size; line spacing; A4, Letter or Legal; margins.

  3. 3

    Create and download

    Select “Create PDF”.

Features

  • Automatic pagination

    Wraps lines and adds pages as needed.

  • Monospace option

    Courier keeps code and logs aligned.

  • Page numbers

    Optional “1 / 5” footer on every page.

When to use it

  • Printing notes, logs or code listings neatly.
  • Converting exported chat or plain-text reports to PDF.
  • Creating a quick PDF from text copied from an email.

Privacy and file handling

Where it runs
Runs in your browser
File size limit
10 MB per file

Runs entirely in your browser. Your files and text are not uploaded to our servers.

Limitations

  • Text in Hindi and other Indian scripts is laid out by your browser so conjuncts and matras display correctly; those pages are saved as images with a searchable text layer, so the PDF is larger than an English one.
  • Plain text has no bold/italic formatting.

Frequently asked questions

Can I convert text in Hindi to PDF?

Yes. Hindi (and mixed Hindi–English) text is set in a Devanagari font so conjuncts like क्ष and matras display correctly, and you can still search and copy the text in the PDF. UTF-8 and UTF-16 text files both work.

Does it keep my line breaks?

Yes. Line breaks and blank lines are kept; long lines wrap to fit the page.

Is my text uploaded?

No. The PDF is created in your browser.

Was this tool helpful?

Thanks for the feedback.

Last reviewed