Skip to content
All tools

Text to PDF Converter

Turn plain text files into clean, paginated PDFs.

Turn a plain text file into a tidy PDF with page margins and automatic page breaks. Drop a .txt file or paste text straight into the box. Each line of your text keeps its place, so lists, notes and logs look the way you wrote them.

A PDF is easier to print, attach and archive than a loose text file, and it opens the same way on every device.

How to convert text to PDF

  1. Drop your text file on the page, choose it from your device, or paste your text into the box.
  2. Select Convert to PDF.
  3. Download the PDF. It is named after your file, or “document” for pasted text.

Why no upload matters

Plain text files are often notes, drafts, logs or exported messages that were never meant for anyone else. The PDF is created in your browser and the text is never uploaded, whether you drop a file or paste it.

What converts well

  • Notes, letters, lists, lyrics, logs and any other plain text (.txt, .text, .log and .csv files).
  • Line breaks and blank lines are kept as they are, and leading spaces are preserved for indented lines.
  • Long lines wrap onto the next line instead of running off the page.
  • Text in many writing systems, including Cyrillic, Greek, Arabic, Hebrew, Thai, Devanagari, Chinese, Japanese and Korean, using matching fonts.
  • A form-feed character on its own line starts a new page.
  • The PDF contains real text, so it can be searched and copied.

Limits

  • Text is set in a regular proportional font at a fixed size on A4 pages. Fonts, sizes and page format cannot be changed.
  • Because the font is not monospaced, columns lined up with spaces (for example in tables drawn with text or in code) may not stay aligned.
  • Formatting such as headings or bold is not interpreted. For formatted documents, write them in Markdown and use Markdown to PDF.

Frequently asked questions

How do I convert a text file to PDF?

Drop the .txt file on this page, or paste the text, and select Convert to PDF.

Can I paste text instead of choosing a file?

Yes. Paste it into the box and select Convert to PDF. The PDF is named “document.pdf”.

Will my line breaks be kept?

Yes. Every line and blank line is kept, and very long lines wrap to fit the page.

Is my text uploaded?

No. The PDF is created in your browser on your own device, and the text is not sent to a server.

Does it work with non-Latin alphabets?

Yes. Fonts for many writing systems are loaded from this site when needed, so text in scripts such as Arabic, Hindi, Chinese or Russian displays correctly.

Can I get the text back out of a PDF?

Yes. PDF to text extracts the text of any PDF into a .txt file.