TXT to PDF Converter

Convert TXT to PDF online for free — drop a .txt file or paste text, choose the page size, font, size, margins and line spacing, and download a clean PDF with selectable text and page numbers. Runs 100% in your browser.

100% private — your text never leaves your browser. Conversion happens on your device; nothing is uploaded.

100% private — runs in your browser

Text is laid out as real, selectable PDF text with word-wrap and automatic pages. Western European text uses standard PDF fonts; other scripts (Greek, Cyrillic and more) automatically embed the open-source DejaVu font. Your text never leaves your device.

How to convert TXT to PDF

  1. Drop a .txt file, or paste your text into the box.
  2. Choose the page size, font and font size.
  3. Adjust margins and line spacing, and keep or remove page numbers.
  4. Click “Convert to PDF” to download your PDF.

What you can use it for

  • Turn notes, drafts and plain-text documents into printable PDFs
  • Convert logs and code files (monospace) for sharing or archiving
  • Make a PDF from text copied out of an email or app
  • Prepare plain-text manuscripts for reading on any device

More free tools

Working with PDFs?

Merge, split, compress, protect and convert PDFs with our free, private PDF tools.

See all free PDF tools →

Frequently asked questions

How do I convert a TXT file to PDF?

Drop the .txt file in (or paste the text), choose the page size and font, then click “Convert to PDF”. Long text flows onto as many pages as needed.

Is the text in the PDF selectable?

Yes. The PDF contains real text, not an image, so you can search, select and copy it.

Does it support other languages?

Yes for most scripts. Western European text uses standard PDF fonts; text with Greek, Cyrillic and other characters automatically embeds the open-source DejaVu font. Chinese, Japanese and Korean aren't supported yet.

Which font should I use for code or logs?

Choose Monospace so columns and indentation line up exactly as in the original file.

Is my text uploaded?

No. The PDF is created in your browser, so your text never leaves your device.