TXT to PDF

Turn a plain text file into a readable PDF. Long lines wrap at word boundaries, empty lines become paragraph spacing, and the text flows onto new pages when it runs out of room.

Files are never uploaded

How to use it

Add your text file

Drop a .txt file or click to browse. Files are read as UTF-8; if your file was saved in an older encoding, accented letters may need a re-save first.

Choose the page size

A4 suits most of the world and US Letter suits North America. The choice changes the text width, so a long line wraps at a different word.

Set the type size

Eleven points is comfortable for reading. Raise it for large-print copies; lower it to fit more per page, but keep it at nine points or above for print.

Adjust the margin

Margins are in points, where 72 points equal one inch. Wider margins leave room for notes or binding; narrower ones fit more text per page.

Generate and check the breaks

The PDF is built in the browser and pages break automatically. Skim the page ends for a heading stranded at the bottom, which plain text cannot reflow away.

Common issues

Expecting automatic headings and bold

Plain text carries no styling, so everything comes out as body copy. Adding structure needs a rich-text or Word source.

Blaming the tool for a missing character

A character outside the built-in Latin set is skipped rather than shown as a box. Check the output for missing letters if the source uses unusual symbols.

Using tabs to fake a table

Tabs collapse into spacing, so columns drift apart. Convert the original spreadsheet or document instead of a tab-separated text dump.

Frequently asked questions

Does it keep my line breaks?
It keeps paragraph breaks (blank lines) and reflows single line breaks inside a paragraph. That is what makes pasted email or notepad text look like a document rather than a list.
Can I convert Chinese or Arabic text?
Not reliably. The built-in PDF fonts cover Latin characters and common accents only; other scripts are dropped because no font file is embedded for them.
Is there a size limit?
Files up to 8 MB are accepted, which is far more text than a normal PDF should hold. Very long documents take longer because every page is laid out individually.
Will headings be detected?
No. Plain text has no structure to detect, so every paragraph gets the same style. Use the Word to PDF converter if the source has real heading styles.
Do tabs become columns?
No. Tabs are treated as whitespace and collapse. Tables copied into a .txt file lose their alignment; convert the original spreadsheet instead.
Can I add page numbers?
Yes, as a second step: run the page-number tool on the generated PDF. Doing it in two passes keeps both tools simple and predictable.
What encoding should the file use?
UTF-8. Most editors save as UTF-8 by default; on Windows, Notepad offers it in the save dialog. Latin-1 files with accents may show missing characters.
Is the text uploaded to a server?
No. The file is read with the browser file API and the PDF is assembled in the tab, so the content never crosses the network.
Can I merge several text files into one PDF?
Convert each file, then use the merge tool to combine the results. That gives you control over the order and lets you add a cover page.

Related tools

Send us feedback

Something broken, or unclear? Tell us and we will look at it.

About this page. Written and maintained by the AI-Mind team. Last reviewed 11 October 2026. This tool runs entirely in your browser. Found an error or have a suggestion? Use the feedback form above or email support@ai-mind.top.