Turns unformatted .txt files into a paginated PDF with margins and page breaks — save as UTF-8 to avoid encoding issues.
Introduction
A plain text file has no formatting at all — no font, no page size, no margins, no bold or italic, not even a defined page break. It's just characters, one after another. So converting a text file to PDF isn't about preserving formatting, because there's none to preserve; it's about giving unformatted text something a document format has that a text file doesn't: a page. This tool takes plain text and lays it out with a standard font, consistent margins, and page breaks where the content runs long enough to need them — adding structure, not carrying any over.
How the Conversion Works
This tool accepts .txt files up to 10 MB. The uploaded file also has to genuinely read as plain text: it's rejected if the first portion of the file looks like it contains HTML markup rather than plain writing, which mainly exists to catch an HTML file that was renamed to end in .txt rather than actually converted or re-saved as plain text.
What "Conversion" Actually Adds
Since there's no original formatting to lose, the result of this conversion depends entirely on the standard layout applied during conversion: a readable default font, page margins, and automatic page breaks once your content runs past one page. Line breaks and blank lines in your original text file are preserved as-is — if you used blank lines to separate paragraphs or sections, that spacing carries through to the PDF. What text files can't carry, because the format itself has no way to store it, is anything like headings, bold or italic emphasis, or bullet points; if your plain text uses characters like asterisks or dashes to fake a list or a heading, those characters convert exactly as typed, not as actual formatting.
What to Check Before You Submit the Result
- Text containing certain punctuation patterns can be misread as HTML and rejected. The validation that checks a file is genuinely plain text looks for anything shaped like an angle-bracket tag near the start of the file. Ordinary writing rarely triggers this, but text with both
<and>characters close together — a mathematical comparison, or a snippet of code using angle brackets — occasionally can. If a file that's genuinely plain text gets rejected as unsupported, checking the opening lines for that pattern is worth doing before assuming something else is wrong. - Save as UTF-8 if your document uses accented letters, curly quotes, or special characters. Plain text files don't carry any built-in statement of which character encoding they were saved with, unlike some richer formats. If a `.txt` file was saved in an older, non-UTF-8 encoding, characters outside basic English letters and numbers can come through incorrectly. Most modern text editors default to UTF-8 already, but it's worth checking the save options if the result shows unexpected characters.
- One file at a time, converted separately. Selecting several text files converts each into its own separate PDF; a "Download all" option then bundles the finished PDFs into a single ZIP file, not one combined document.
For an ordinary plain text file — notes, a draft, a list, instructions — the result should be a clean, readable PDF with nothing surprising in it. It's still worth a quick look before sharing or submitting anything final.
When This Is the Right Tool
- Turning notes or a draft into something printable. Plain text is a common format for quick notes, and this gives it a proper page layout for printing or sharing without opening a full word processor just to add margins.
- Distributing instructions or a simple handout written in plain text. A worksheet or set of instructions written directly as plain text converts into something every student can open and print the same way, regardless of what software they have.
- Archiving code, log, or reference notes as a fixed record. Plain text files are common output from code editors and simple tools; converting one to PDF turns it into a shareable, page-based document without needing to open the original editor again.
If the content genuinely needs formatting — headings, emphasis, tables — a plain text file was never going to carry that, and adding it after the fact means writing the document in a format that actually supports it, not converting text that never had it.
Example
A student keeps running notes for a class in a plain text editor throughout the term — no formatting, just organized with blank lines between topics. Before an exam, they convert the notes file to PDF to print a study copy. Nothing about the content changes; the conversion just gives the notes page breaks and margins so they print cleanly instead of running together as one long, unbroken block of text.
FAQs
What text files can I convert?
.txt files up to 10 MB. The content also has to genuinely look like plain text, not HTML markup saved with a .txt extension.
Will my formatting be preserved?
There's no formatting in a plain text file to preserve — the conversion adds a standard font, margins, and page breaks. Line breaks and blank lines in your original file are kept as-is.
Why was my plain text file rejected as "unsupported"?
The check that confirms a file is genuinely plain text looks for anything shaped like an HTML tag near the start of the file. Text containing both < and > characters close together, such as a math comparison or a code snippet, can occasionally trigger this even though the file is genuinely plain text.
Can I convert several text files at once?
You can select multiple files, but each converts into its own separate PDF. A "Download all" option bundles the finished PDFs into a ZIP file for convenience.
Is my file kept afterward?
No. Files are processed only to complete the conversion and are automatically deleted within 2 hours — see the Privacy Policy for details.
What other formats can I convert to PDF?
For other source formats, use Word To PDF, Excel To PDF, Powerpoint To PDF, or Rtf To PDF.