Text to PDF Converter
Paste text or open a .txt file, pick a page size and font, and download a tidy PDF. Everything happens in your browser.
Frequently Asked Questions
Is my text uploaded anywhere?
No. The PDF is built by your browser with the jsPDF library. Whatever you type, paste or open from a .txt file stays on your device, and nothing is sent to a server.
Can I use accented letters, Sinhala, Chinese or emoji?
Not reliably. The built-in PDF fonts cover Western European characters. Scripts such as Sinhala, Chinese, Arabic or emoji need an embedded font, and this tool does not include one, so those characters can show up as blanks or odd symbols. Use the HTML to PDF tool and print to PDF from your browser for those languages.
How long can the text be?
There is no fixed limit. The tool adds pages as needed, and a few hundred thousand characters still finish in a couple of seconds on an ordinary laptop. A very large file on an older phone may take longer.
Why do my line breaks look different from the original?
Lines are re-wrapped to fit the page width, while your own paragraph breaks and blank lines are kept. Changing the font size or margin changes where lines wrap.
Does it cost anything?
No. It is free, there is no account, and the PDF carries no watermark.
Getting a Clean PDF From Plain Text
Plain text is the most durable format there is, but it is awkward to hand to someone else. A .txt file opens differently on every device, line breaks can shift, and some mail systems strip it out altogether. A PDF fixes the layout in place, so what you send is what they see. This tool is for exactly that: meeting notes, a log excerpt, a recipe, a draft you want to print.
How It Works
Type or paste into the box, or open a text file from your device. When you press Convert, your browser measures every line against the page width, breaks long lines where they have to break, starts a new page when the old one is full, and writes the result with jsPDF. The blank lines you typed stay as blank lines, so paragraphs keep their spacing. Nothing travels over the network, which matters if the text holds contracts, passwords, patient notes or anything else you would not paste into a stranger's website.
Settings That Are Worth a Look
- Font. Sans-serif suits screen reading. Serif feels more like a printed letter. Monospace is the right choice for code, logs and anything lined up with spaces, because every character takes the same width.
- Size and spacing. Twelve points with normal spacing is comfortable on paper. Drop to ten if you want fewer pages, or raise the spacing if the document will be marked up by hand.
- Margin. Home printers often cut off the outer few millimetres, so keep the normal margin if you plan to print.
- Page numbers. Handy for anything longer than two pages, and they make a printout much easier to put back in order after you drop it.
Know the Limits
The standard PDF fonts only cover Western European characters. Text in Sinhala, Chinese, Arabic or Hindi, and emoji, will not come out correctly here. For those, put the text on a page with the HTML to PDF tool or the Markdown Converter, which let the browser draw the characters with your system fonts. Tables and images are also out of scope, since this tool treats everything as plain text.
What To Do Next
If one PDF is not enough, the PDF Merger joins several together, and the PDF Compressor shrinks the result when it is bound for email.