Text to PDF

Turn plain text files into a clean PDF

pdfty's TXT to PDF converter turns a plain .txt file into a properly paginated PDF with margins and wrapped lines. It's the tidy way to print a log, attach meeting notes to a ticket, archive a README, or send text to someone who should not be able to edit it.

Conversion runs on LibreOffice in headless mode. Every character and line break is kept, long lines wrap instead of being cut off, and the output contains real text you can search, select and copy. Plain text has no formatting, so neither does the PDF — for headings and bold, write Markdown and use Markdown to PDF. Save the file as UTF-8 so accented and non-Latin characters come through correctly.

Free for text files up to 20 MB, with no daily limit — no watermark and no account needed. Files travel over HTTPS and are permanently deleted from our servers within 1 hour, and we never log their contents. Need the reverse? PDF to TXT pulls plain text back out of any PDF with a text layer.

How it works

  1. 1

    Upload your .txt file

    Drag and drop or click to choose a plain-text file.

  2. 2

    Convert

    LibreOffice lays the text out on pages with margins and wrapping.

  3. 3

    Download the PDF

    Save a searchable PDF with your text exactly as written.

  4. 4

    Add extras if needed

    Use Page Numbers or Header & Footer on the result to label the pages.

  5. 5

    Done in 1 hour

    Your file and the PDF are deleted within 1 hour.

Frequently asked questions

It keeps every character, space and line break. Plain text has no bold or headings to keep — use Markdown to PDF for styled output.
They wrap onto the next line, so nothing is lost. Column-aligned text may drift when lines wrap.
Yes, if the file is saved as UTF-8. Garbled characters usually mean a legacy encoding — re-save as UTF-8 and convert again.
Yes. The output contains real text you can search, select and copy.
Convert each one, then join the PDFs with Merge in the order you want.
Uploads use HTTPS, there's no account, and files are deleted within 1 hour. We never log file contents.

Related tools

Guides & tutorials