PDF / Convert
Text to PDF: Convert Plain Text or a TXT File to PDF
Paste plain text and save it as a PDF: choose a serif, sans-serif, or monospace font, the size, line spacing, paper, orientation, and margins, add a title or line numbers, and print to PDF with selectable text in any language, Chinese, Japanese, and Arabic included.
Text to PDF: Convert Plain Text or a TXT File to PDF: The text is laid out by your browser's print engine with the page size and margins you choose, so line breaks are kept, long lines wrap, and every script your device can display prints correctly. The PDF keeps the text as text, so it can be searched and copied. Runs 100% locally in your browser with zero server file uploads.
- Category
- PDF tools
- Runs
- In your browser
- Cost
- Free · no sign-up
- Availability
- Ready to use
Runs entirely in your browser
Press Print or save as PDF and choose Save as PDF as the printer. Your browser lays out the pages, so every language and script prints correctly and the text stays selectable in the PDF. Line breaks are kept as you typed them. Nothing is uploaded.
Monospace for code and tables
Choose the monospace font to keep columns of plain-text tables and code lined up.
Formatted documents
For headings, lists, and tables, write in Markdown and use Markdown to PDF.
How to use it
- Paste or type the text.
- Choose the font, size, spacing, paper, and margins.
- Press Print or save as PDF and choose Save as PDF.
Privacy & limitations
Your text stays in your browser and is never uploaded.
Related tools
Frequently asked questions
Why does it use the print dialog?
The browser's print engine handles every language and font on your device and makes a PDF with real, selectable text. In the print dialog, choose Save as PDF as the printer; on Windows, Microsoft Print to PDF also works.
Can I convert a .txt file?
Open the file in any text editor, copy everything, and paste it here.
How do I remove the date and address from the top of the page?
In the print dialog, open More settings and turn off Headers and footers.
Free tool · runs in your browser · no account required