PDF On My Device Buy me a coffeeSupport

Convert text to PDF

Turn plain text (.txt, logs, code, CSV) or pasted text into a PDF.

About Text to PDF

Upload text files or paste text and get a PDF with proper line wrapping and page breaks. Choose a normal font for notes and letters, or monospace for code, logs and text tables so columns stay lined up. Hindi, accented letters, Greek and Cyrillic work too. Everything is converted on your own device.

What people use it for

How to convert text to PDF

  1. Upload text files, or switch to Paste text.
  2. Pick the font, text size, page size and margins.
  3. Click Convert to PDF.

Questions

Are my files uploaded anywhere?

No. Your files are processed inside your browser and never uploaded. There's no server that receives them, no account and no watermark.

Is it safe to use for confidential files?

Yes. Text to PDF runs on your own device, so bank statements, contracts and IDs are never sent to a server where they could be stored, read or leaked.

Will spacing and blank lines be kept?

Yes. Line breaks, blank lines and spaces are kept exactly; long lines wrap to the page width.

Which encodings work?

UTF-8, UTF-16 and older Windows (ANSI) text files.

Does it work without internet?

Yes. Once this page has loaded you can switch off Wi-Fi or mobile data and keep using it. Tools you've opened before load even with no connection, and you can install the site as an app from your browser menu.

More PDF tools