Skip to main content
Nami PDF

Text to PDF

Turn plain text files into a PDF, with your choice of font and margins.

Choose text files

Drop files here or choose from your device (up to 250 MB each).

Processed in your browser. Your files are not uploaded.

Text to PDFTurn plain text files into a neat PDF, including Arabic and other right-to-left text. Choose the page size, orientation, margins, font and text size.

How to use

  1. 1Choose your text files.
  2. 2Pick font, size and margins.
  3. 3Select Convert to PDF.
When it helps
  • Turning notes or a log file into a PDF that prints neatly.
  • Sharing Arabic or other right-to-left text as a document that looks the same everywhere.
Supported files and limits

Plain text files (.txt and similar: .log, .csv, .ini, .yaml, .xml…). Each file can be up to 250 MB. Arabic and other right-to-left text and many scripts are supported; text stays searchable. A form feed in the file starts a new page.

What happens to my files?

Your files are read and converted by your browser on this device. They are not uploaded to our servers or sent to anyone else, and the result is made on this device too. Very large results may be kept for a moment in the browser’s private storage on this device, and are deleted afterwards. Passwords and certificates you type are used only for this task and are not kept. Privacy policy

If something goes wrong
  • Letters show as boxes: the text may use a script without a bundled font; tell us which one.
  • Strange characters: the file is read as UTF-8 (or UTF-16, or Windows-1252 when it is not UTF-8); save it again as UTF-8.
Questions
Can I choose the font?
Yes: sans serif, serif or monospace, and the text size.
Are long lines cut?
No. They wrap to the next line.