TXT to PDF

Convert plain text .txt files to PDF format with adjustable font size, line spacing, and margins. Preserves all line breaks and paragraph structure. Downloads a clean, print-ready PDF. In-browser — no server upload, no signup required.

Drop your text file anywhere, click to browse

TXT files · or type/paste text below

Ctrl+Vto paste a copied file
pt

Frequently Asked Questions

Are line breaks and paragraphs preserved?
Yes. All line breaks and blank lines from the .txt file are preserved exactly in the PDF output.
Can I adjust font size and margins?
Yes. Set font size (typically 10-14pt), line spacing, and page margins (portrait or landscape) before converting.
What encoding does it support?
UTF-8 text files including Unicode characters (accents, non-Latin scripts, emojis) are supported.
Is the conversion done in the browser?
Yes. PDF generation happens locally using a JavaScript PDF library. Your text file is never uploaded to any server.
What page size is the output?
A4 (international standard) or US Letter, selectable before conversion.