Convert TXT to PDF

Turn plain .txt files such as notes, logs and code into PDFs that are easy to share and print.

Files are converted in your browser and never uploaded. Free, no sign-up, no watermark.

Drop TXT files here

.txt, .text · up to 200 files, 20 MB each

Options

Paper

Monospaced 10 pt text with long lines wrapped. Characters outside Western European (emoji, Chinese, Arabic, Cyrillic) become “?”.

Converted files still called IMG_4821?

File Renamer AI looks inside each photo or PDF and names it by content. 25 free renames.

Why convert TXT to PDF?

A .txt file opens differently on every device: line wrapping, fonts and encoding vary between editors, and phones sometimes refuse to preview it at all. A PDF fixes the layout so the text looks the same for everyone, prints predictably and can be attached anywhere a document is expected.

The output is plain text set in a monospaced font, which keeps columns, indentation and ASCII tables aligned, useful for logs, code listings, configuration files and notes. Long files flow onto as many pages as needed, so a lengthy log or transcript prints as a tidy multi-page document instead of one endless scroll.

The PDF uses a standard built-in font that covers basic Latin characters. Text in other scripts, emoji and some accented or special symbols may not display correctly, so check the result if your file contains them. For documents in those languages, printing from a text editor to PDF is the more reliable route.

More about the formats: what is a TXT file · what is a PDF file

More PDF tools: Compress PDF · Merge PDF · Organize PDF Pages · Rotate PDF · Add Page Numbers · all PDF tools

How to convert TXT to PDF without a tool

Windows (Notepad)

  1. Open the .txt file in Notepad.
  2. Choose File > Print and select Microsoft Print to PDF.
  3. Click Print and choose where to save the PDF.

Mac (TextEdit)

  1. Open the .txt file in TextEdit.
  2. Choose File > Export as PDF and click Save.

Chrome or Edge (any desktop)

  1. Drag the .txt file into a browser tab.
  2. Press Ctrl+P (Cmd+P on Mac) and choose Save as PDF as the destination.
  3. Click Save.

Good to know

  • Characters outside basic Latin (for example Chinese, Arabic, Cyrillic or emoji) may not be supported.
  • Monospaced layout keeps spacing and indentation aligned exactly as in the file.
  • No formatting is added; Markdown or HTML in the file appears as plain text.

Private by design: nothing is uploaded

Most online converters upload your files to a server and send back the result. This one does the conversion inside your browser, so your TXT files never leave your device. That makes it safe for personal photos, scans of documents and client work, and it keeps working on slow connections once the page has loaded.

See all free file converters

Frequently asked questions

Which font does the PDF use?

A monospaced font, so every character has the same width and columns stay aligned.

Does it support non-English text?

Basic Latin text works well. Characters outside that range, such as non-Latin scripts or emoji, may not display correctly.

Can I convert several text files at once?

Yes. Add up to 200 .txt files and download the PDFs as a ZIP.

Are my files uploaded?

No. The PDF is generated in your browser.