How to Create a PDF from a Text File
Three steps, all in your browser.
Add your text file
Drag in a single .txt file, or click to browse and choose one. Nothing is uploaded.
Choose font and page size
Pick a proportional or monospace font and an A4 or US Letter page size.
Create and download
Click Create PDF to build the file, then download it or open it in a new tab. Need a Word document turned into a PDF instead? Use the Word to PDF converter.
For richer sources, Word to PDF handles .docx and HTML to PDF renders markup. Going the other way, PDF to Text pulls the text back out of a PDF.
How the text is laid out
A plain text file has no formatting to preserve, so the only decisions are pagination and wrapping.
| Aspect | Behaviour |
|---|---|
| Input format | .txt, read as plain text |
| Line breaks | Preserved as written |
| Long lines | Wrapped to the page width |
| Pagination | Text flows onto as many pages as needed |
| Font | A standard PDF font — the source has none to carry over |
| Encoding | Read as text by the browser; unusual encodings may not map cleanly |
Frequently Asked Questions
What does this tool do?
Does it handle special characters and encoding?
Are my files uploaded anywhere?
Can I choose the font and page size?
Last updated: