Text to PDF
Turn a plain-text file — or text you paste — into a clean PDF, all in your browser.
How to convert text to PDF
Turn a .txt file — or text you paste in — into a clean, printable PDF with your choice of font, size, line spacing and margins. Free and fully in-browser.
This is the quickest way to give plain text a proper page: notes, a code snippet, a letter, a list. Paste it in or upload a .txt file, choose a font and page size, and download a tidy PDF. Paragraphs and blank lines are kept; long lines wrap to the page width.
Unicode text is supported, including accented and non-Latin scripts.
The file is processed on your own device and never uploaded to a server.
Steps
- Open the Text to PDF tool.
- Paste your text or upload a .txt file.
- Set the font, size, line spacing and page size.
- Download the PDF.
Frequently asked questions
How do I turn a .txt file into a PDF?
Upload the file (or paste the text), pick a font and page size, and download the PDF.
Does it keep my line breaks?
Yes. Paragraphs and blank lines are preserved; long lines wrap to the page width.
Can it handle other languages?
Yes — Unicode text including accented and non-Latin scripts is supported.
Is anything uploaded?
No. The file is processed on your own device and never uploaded to a server.
Related tools
- PDF to Text — the reverse — PDF back to plain text
- Merge PDF — combine the text PDF with other documents
- PDF Editor — format the text visually instead