TXT to PDF
Turn plain text files into a PDF with the font, page size and margins you choose.
Turn plain text files into a neat PDF you can print or share. Choose the font and page size, and long lines wrap automatically. Notes, logs, code and email text all work, and your file never leaves your browser.
How to use TXT to PDF
- Choose or drop your .txt files.
- Pick the font, font size, page size and margin.
- Click “Convert to PDF” and download.
Frequently asked questions
How do I convert a TXT file to PDF?
Add the .txt file, choose a font and page size, and click Convert to PDF. The PDF is made in your browser and downloads straight away.
Can I merge several text files into one PDF?
Yes. Leave “Merge all text files in one PDF file” ticked and each file starts on a new page of the same PDF. Untick it to get one PDF per file.
Will accents and special characters work?
Yes. Files are read as UTF-8 (older files as Windows-1252), so accents, curly quotes and symbols are kept. Letters that neither built-in font has are shown as a question mark.
Is it really free?
Yes. There is no sign-up, no daily limit and no watermark added to your files.
Are my files uploaded to a server?
No. ModifyPDF processes files with JavaScript inside your browser. Your documents never leave your device, and nothing is stored after you close the page.
Fonts and layout
Choose Sans, Serif or Mono, a font size of 10, 12 or 14 points, A4 or US Letter pages, and small, normal or big margins. Long lines wrap at the margin, blank lines and indents are kept, and a new page starts when the page is full. Use Mono for code, logs and anything lined up with spaces.
Characters and encodings
Files are read as UTF-8, with a fallback to Windows-1252 for older files, so accents, quotes and symbols stay correct. Letters from other alphabets are drawn with a second font where it has them, and anything neither font has shows as a question mark.
Using the print dialog instead
Notepad (Windows) and TextEdit (Mac) can also save a text file as a PDF through Print and then “Save as PDF” or “Microsoft Print to PDF”. That works for one file at a time and gives you little control over the font or margins. This tool adds a choice of font, size, page size and margins, handles accents and symbols, and can merge many .txt files into one PDF in a single step.
Logs, code and notes
Plain-text logs, source code and meeting notes usually look best in the Mono font at 10 points, which keeps columns lined up. Long lines wrap at the margin rather than running off the page, and indents and blank lines are kept.
Text files, logs and notes
Plain text turns into a clean, printable PDF: meeting notes, README files, exported chat logs, source code and email text. Leave the font on Sans for reading, or switch to Mono to keep columns and code lined up.
Need formatting?
A text file has no bold, headings or images. To keep those, convert a Word document with Word to PDF instead, and use Merge PDF to join several results into one file.