Text to PDF
Paste text or open a .txt file and download it as A4 or Letter PDF pages, line for line; nothing is uploaded.
Processed on your device. Nothing is uploadedHow to check
Pasted text stays in this tab and is never sent anywhere.
Convert TXT to PDF: type or paste text, or open a .txt file, and every line is laid out on A4 or Letter pages with 0.75-inch margins, blank lines included. Each line keeps its own direction, so Arabic reads right to left and English left to right. Pages are cut between lines, so no line is split, and each page carries its text, so the PDF can be selected, searched and copied, Arabic included. The text is converted in your browser and never uploaded.
Why use Text to PDF
Private
Your text is converted by your own browser and never sent to a server, so nobody else sees it.
Every line kept
Each line of your text is a line on the page, blank lines included, in its own direction.
Searchable PDF
The pages carry their text, so it can be selected, searched and copied in any PDF reader.
Works offline
Install it as an app or keep using this page: once the tool has been used, it works without an internet connection.
How to convert text to PDF
Paste or open your text
Type or paste text into the box, or choose or drop a .txt file to fill it.
Choose the page size
Pick A4 or Letter.
Convert
Click the convert button to lay out the pages.
Check and download
The preview shows the first pages; download the PDF.
What Text to PDF handles
- Files: .txt, or text you type or paste.
- Every line, blank lines included, on A4 or Letter pages.
- Arabic and English lines, each in its own direction.
- Long texts: cut into pages between lines.
Works best for
- Notes and drafts to print
- Text copied from an email or chat
- Lists and logs to share
- Arabic and mixed-language text
May not keep
- Columns lined up with spaces
- Headings and lists (they stay plain lines)
- Clickable links
- Page numbers
Text to PDF: what it can't do
- Pages are pictures at 200 dpi with their text laid over them: the text can be selected and searched, but zooming in far is less sharp than type.
- No formatting is guessed: lines that look like headings or lists stay plain lines. For formatting, write Markdown and use Markdown to PDF.
- Links are not clickable, and the pages have no page numbers.
- Files up to 10 MB are opened; a larger file shows a message instead.
Text to PDF: questions
- Is my file uploaded?
- No. Your file is read and changed by your own browser, on your device, and is never sent anywhere. You can check it: open your browser's network panel while you use the tool and you will see no upload.
- How do I convert a text file to PDF?
- On a computer, open the .txt file in Notepad or TextEdit and print it, choosing Save as PDF (Microsoft Print to PDF on Windows) as the printer. In OpenAnyDoc, paste the text or open the .txt file, choose A4 or Letter, click convert and download the PDF with every line kept; the text is converted in your browser and never uploaded.
- Does Arabic text come out right to left?
- Yes. Each line is set in its own direction, and the text in the PDF can be selected, searched and copied, Arabic included.
- What happens to very long lines?
- They wrap onto the next line inside the margins, and pages are cut between lines, so no line is split across two pages.
- Can I add page numbers?
- Not on this page; the PDF has none. You can add them afterwards with the site's PDF tools, or join several PDFs into one with Merge PDF.
- I only want to read a text file. Do I need a PDF?
- No. The TXT viewer opens a .txt file in your browser so you can read and search it, without making a PDF.
- Is it really free?
- Yes. There is no account, no watermark and no limit on how often you use it.
Why it's private: your files never leave your browser
Most online viewers upload your file to a server, so a copy of it leaves your device. OpenAnyDoc works the other way round: your browser reads the file and draws it on your screen. Nothing is uploaded, there is no account, and the file is gone from memory when you close the tab, so there is nothing for us to store, see or lose.
How we tell you about new features
Announcements are based on the release date shown to everyone, and nothing is stored on your device or sent anywhere.