Skip to content

Text to PDF

Convert a plain text file into a PDF.

Click to select file(s) or drag and drop

Text files (.txt)

Your files never leave your device.

RTL languages (Arabic, Urdu, Persian, etc.) are automatically detected and text direction is adjusted.

About Text to PDF

Text to PDF lays out plain text on pages with your choice of font and size.

How to use it

  1. Select your text files, or drag them onto the drop area.
  2. Choose the font and page settings.
  3. Convert and download.

Your file stays on your device

This tool runs entirely in your browser. Your file is read from your device, processed in memory, and saved back to your device — it is never uploaded to Qpdf or anyone else. The first time you use it, your browser downloads the PyMuPDF engine (software only, about 54 MB) from qpdf.ca and keeps it for offline use.

How Qpdf keeps files private →

Good to know

  • Downloads the PyMuPDF engine (about 54 MB) the first time you use it.

Related tools

All tools →
Markdown to PDF Write or paste Markdown and export a PDF.
JSON to PDF Convert JSON files to readable PDFs.
PDF to Text Extract text to a .txt file.