Search 85 tools...

Ctrl K

Convert Text (TXT) to PDF

To convert a text file to PDF, add the .txt file, set the font size, margin, page size (A4 or US Letter) and font, and click Text to PDF. Long lines wrap, tabs are kept as stops and the text flows onto as many pages as needed. It runs in your browser, so nothing is uploaded.

Choose the font size, margins, page size and a monospace font for code

Runs in your browser · files are never uploaded

Quick facts

Formats
Text (TXT) or Markdown (MD) → PDF
Where it runs
In your browser, on your own device. Files are not uploaded. If your device cannot handle a file, you can choose to use our server instead.
Size limit
150 MB per run on a computer, 50 MB on a phone or tablet
Files per run
Up to 50
Last updated

How to use Text to PDF

1

Choose one or more text files (.txt, .log or .md).

2

Set the font size, margin, page size (A4 or US Letter) and font.

3

Click Text to PDF.

4

Download the PDF.

Features & Privacy

Fast & High Quality
High-speed document engines process your files quickly while preserving original text, vectors, and image clarity.
Private: Files Never Leave Your Device
Your browser processes the files on your device. If it offers a server fallback, files are uploaded only when you choose Use secure server.
Batch Processing
Add up to 50 files at once; several results are packaged into one ZIP download, or saved one by one.

Frequently Asked Questions

Automatic uses a sans-serif font and switches to monospace when the text looks column-aligned, such as logs or tables. You can also choose Sans-serif or Monospace yourself.

Yes. Latin text is written as real PDF text. Other scripts such as Hindi, Arabic or Chinese are laid out with your device's fonts and saved as sharp page images with a searchable text layer.

No. The text is paginated without numbers. Run Add Page Numbers on the resulting PDF if you want numbered pages in the header or footer.

No. The text is printed exactly as written, including any # or * characters. For headings, lists, tables and code blocks from a .md file, use Markdown to PDF instead.

Plain text files such as .txt, .text, .log and .md in UTF-8, UTF-16 or Windows-1252 encoding. Binary files are rejected with a clear message instead of producing garbage.

No. The PDF is created in your browser on your own device, so your text never leaves it. It works the same way in phone and tablet browsers.