TXT to PDF
Turn your text files into tidy PDFs. Pick the page size, font, and spacing.
Free, fast, and privacy-first.
Convert text files to PDF
or drag & drop files here
TXT files onlyup to 30 filesup to 100 MB each300 MB total
Selected files 0
document.pdf
0 KB
Your PDF is ready
Your download should have started automatically.
Convert TXT to PDF: clean, paginated, and private
Turn plain-text (.txt) files (notes, logs, code, or exported data) into tidy, paginated PDFs that are easy to read, print, and share. pdfcosmos builds the PDF entirely in your browser, so your text never leaves your device.
Set the page size and orientation, pick the font, size, and line spacing, and long lines wrap automatically across as many pages as needed. Convert up to 30 files, each as its own PDF (a ZIP for several), or turn on “Merge into one PDF” to combine them. Works with Latin, Greek, and Cyrillic text (including accents). Scripts like Chinese, Arabic, and emoji aren't covered yet.
-
Tidy, paginated output
Lines wrap automatically and flow onto as many pages as needed.
-
Style it your way
Page size, orientation, margin, font, size, and line spacing.
-
One each or merged
Up to 30 files as separate PDFs (a ZIP), or merged into a single PDF.
-
Nothing is uploaded
Your text is converted in the browser and never sent anywhere.
How to convert TXT to PDF
-
Add your text files
Click “Add text files”, or drag one or more .txt files into the upload area.
-
Pick your layout
Choose the page size, orientation, font, size, and line spacing, then turn on “Merge into one PDF” to combine them.
-
Convert and download
Click “Convert to PDF”: you get one PDF per file (a ZIP for several), or a single merged PDF.