TXT to PDF

Add up to 10 text files, choose the page size, the font and its size, and press "Convert to PDF". Each file becomes a clean PDF with wrapped lines, the file name at the top of every page and page numbers at the bottom.

ctrl + enter

About this tool

Turn your text files into clean, professional-looking PDFs in just a few clicks. Whether it's personal notes, work documents, meeting minutes, instructions or code, easily convert them into PDFs that are ready to print, share by email or keep for later. Choose your preferred page size and font, and convert up to 10 files at once. A simple way to turn plain text into a PDF everyone can open.

Related: Compress PDF, PDF Grayscale, CSV to Excel, Create ZIP Archive.


How to use it — quick steps

  1. 01

    Add the text files

    Drop or choose up to 10 plain-text files, 5 MB each.

  2. 02

    Choose the layout

    A4 or Letter, monospace or sans-serif font, 9 to 12 pt; tick whether to print the file name as header, the page numbers as footer, and whether links should be clickable.

  3. 03

    Press "Convert to PDF"

    Each file is converted in turn with its page count shown; download the PDFs one by one or as a .zip.


Key features of this tool

  • Clean, readable pages

    Wrapped lines, expanded tabs, optional file-name header and page numbers; monospace for code and logs, sans-serif for prose; Chinese, Japanese and Korean text in Noto Sans CJK.

  • Up to 10 files at a time

    Text, log, Markdown, CSV, JSON, XML and other plain-text files, 5 MB each, converted in one run with a .zip of the results.

  • Nothing leaves your browser

    The selected text files are converted in your browser, they never leave your device and are not uploaded on our servers.


Frequently asked questions

Which files are accepted?

Any plain-text file up to 5 MB: .txt, .log, .md, .csv, .json, .xml, .ini, .yaml, subtitles and so on. Word documents or rich text are not plain text; export them as .txt first.

Are accents and non-Latin alphabets supported?

Yes! Accents and most languages are supported, including Latin, Cyrillic (Russian), Greek, Chinese, Japanese and Korean. Chinese, Japanese and Korean fonts are downloaded automatically the first time you need them (about 16 MB per language) and saved for future use.

How many pages can a file produce?

Up to 2,000 pages per file; a 5 MB log is roughly that size at 10 pt. Split larger files first.

Can links in the text be clicked in the PDF?

Tick "Make https:// links clickable": every http:// or https:// address is printed in blue and gets a link annotation, so a click opens it in the viewer. Addresses split across two lines are linked on the first line only.

Can I change margins or add line numbers?

Not in this version: the layout uses fixed 2 cm margins. Tell us if line numbers or other options would help you.

Are my files or data uploaded?

No. The tool is plain JavaScript that runs in your browser; the files or data you provide here are never uploaded to our servers.


Popular tools


From APIVoid, the team behind IPVoid

Enhance your threat detection capabilities

APIVoid provides threat intelligence APIs to automate security workflows, with simple pricing and a 30-day free trial to start, no card required.

What you get with APIVoid

  • IP reputation and blacklist checks
  • Domain and URL reputation scoring
  • DNS lookups and propagation
  • SSL certificate and TLS details
  • Website screenshots and page info
  • Email address verification
  • 30+ cybersecurity APIs
30-day free trial