Convert text to PDF on your computer

Turn plain UTF-8 text into readable A4 PDF pages while preserving paragraphs, line breaks and explicit page breaks. Scripts that need ligatures, such as Arabic, are not supported. Free and unlimited one file at a time, local and without watermarks.

100% private: everything runs on your computer, your files never leave your device.

  1. Upload a .txt file from your device
  2. OléPDF lays out the text locally into readable pages
  3. Download a searchable PDF without watermarks

What Text to PDF does

Text to PDF takes a plain .txt file and lays it out as a clean, readable PDF with real, selectable text. Paragraphs, blank lines and line breaks are respected, columns separated by tabs are aligned, and a form feed character in the file starts a new page. The conversion runs in your browser: the text file is read locally and the PDF is written locally.

It exists for the humble text file that has to travel as a document: a log or a configuration dump to attach to a ticket, a README or a licence to include with a delivery, an exported chat or a transcript, a plain-text letter or a list that someone needs to print. There is nothing to configure, which is also why it takes a couple of seconds.

How to convert a text file to PDF

  1. Add the .txt file. Only plain text files are accepted; the text is read as UTF-8.
  2. Press Convert to PDF. There is no options screen: the layout is fixed and the conversion starts immediately, with the message Converting text to PDF.
  3. Download the result. The file keeps the original name with the suffix _pdf and a timestamp.
  4. To convert several text files in one go, add them all before starting. You get one PDF per file inside a ZIP, together with a manifest listing inputs and outputs. Batch runs are part of the 7-Day Pass and the Pro plan.

How the text is laid out

The layout is deliberately simple and consistent. Pages are A4 with a 50 point margin on every side, the text is set in an 11 point monospaced font with a comfortable line spacing, and long lines are wrapped at the margin. The first non-empty line of the file becomes the document title in the PDF metadata.

Privacy: the text never leaves your computer

The file is decoded and laid out by code running in your browser tab, and the PDF is produced by a local PDF library with the fonts bundled in OléPDF. Nothing is uploaded and no third-party service is involved. The only extra download that can happen is a Japanese or Hebrew font subset, fetched from OléPDF's own domain when the text contains those scripts.

That makes the tool suitable for logs and exports that often contain internal paths, user names or keys you would not want to paste into an online converter.

Typical uses

Frequently asked questions

Is Text to PDF free?

Yes. Converting one text file at a time is free and unlimited, with no account, no watermark and no daily cap. Converting several files in a single run requires the 7-Day Pass or Pro.

Is the text in the PDF selectable and searchable?

Yes. The PDF contains real text with embedded fonts, so you can search it, copy from it and index it like any other document.

Can I choose the font or the page size?

No. The layout is fixed: A4 pages, 50 point margins and an 11 point monospaced font. For a formatted document, write it in a word processor and use Word to PDF.

How do I force a page break?

Insert a form feed character in the text file. Many editors accept it as Ctrl+L or as the escape \f; each one starts a new page in the PDF.

Which file types are accepted?

Only .txt files. Save other formats as plain text first, or use the dedicated converters for Word, Excel, PowerPoint and HTML.

Why do some characters appear as boxes?

Because the script needs contextual shaping, which the converter does not perform. Latin, Greek, Cyrillic, Japanese and Hebrew are covered; Arabic and similar scripts are not.

PDF Converter

All tools

Photos rather than PDFs? Try OléPIC, our image tools.