Text to PDF
Turn plain text or a .txt file into a clean PDF, with your choice of paper, font, size and margins.
Write or paste text to see the PDF.
Missing a feature or found a bug in Text to PDF? Tell me on X (@_andrewtran) or by email.
How to use Text to PDF
- Write or paste your text, or open a text file.
- Choose the paper size, font, text size and margin.
- Check the preview, then select Download PDF.
Questions and answers
Are my files uploaded?
No. The PDF is read and rebuilt by your browser, on this device. Nothing is sent to a server.
Which letters can be used?
Latin, Vietnamese, Cyrillic and Greek letters. Western European text uses the fonts built into every PDF reader; other letters use a font that is added to the file, holding only the letters used. Chinese, Japanese, Korean, Arabic and other scripts are not supported yet. Characters from those scripts are written as a question mark, and the tool tells you how many.
Are my line breaks kept?
Yes. Every line stays as you wrote it, including blank lines and indents. Lines too long for the page wrap on to the next line.
Related tools
Markdown to PDF
Turn Markdown into a tidy PDF document with headings, lists, quotes, code blocks and tables.Word to PDF
Turn a Word .docx file into a PDF: headings, lists, tables, pictures, and the header and footer.Compress PDF
Make a PDF smaller: repack it, save its pictures at lower quality, or turn scanned pages into pictures.Protect PDF
Lock a PDF with a password using AES-256 encryption. The password never leaves your device.