Turning plain text into a PDF is useful more often than you would expect: saving meeting notes in a shareable format, archiving a chat log, turning a draft into something you can email, or printing a clean copy of a text file. A PDF locks in the layout so it looks the same on every device. Here is how to convert text to PDF for free, on desktop and on your phone.
Convert text to PDF in your browser
The fastest method works on any device with a browser — no software to install and nothing uploaded anywhere.
- Open the free text-to-PDF tool.
- Paste your text into the editor, type it directly, or upload a
.txtfile. - Check the preview to make sure line breaks and paragraphs look right.
- Click convert and download the PDF.
The conversion happens entirely on your device, so private notes and drafts never leave your computer. Multi-page documents work fine, and the resulting PDF keeps your original line breaks and spacing.
Convert text to PDF on iPhone
On iPhone, the browser method above works in Safari. You also have a built-in option: open the text in Notes, tap the share button, choose Print, then pinch outward on the print preview with two fingers. That opens a full PDF preview — tap share again to save it to Files or send it anywhere.
Convert text to PDF on Android
On Android, open the browser-based tool in Chrome, paste your text, and convert. Alternatively, paste the text into Google Docs, tap the three-dot menu, choose Share & export, then Save as PDF. Both routes are free; the browser tool is faster when you do not want to sign in to anything.
Tips for a clean result
Remove trailing spaces and double blank lines before converting — they are invisible in the editor but show up in the PDF. If your text uses tabs for indentation, convert them to spaces first, since tab widths render inconsistently. For very long documents, break the text into logical sections with blank lines between them so page breaks land in sensible places. And if your source is Markdown rather than plain text, use a Markdown viewer first to check the rendered output.
What about Word documents?
Plain-text conversion is for .txt files, notes, and clipboard text. If you have a .docx file with rich formatting, open it in Word, Google Docs, or LibreOffice and use their built-in Export or Save as PDF — converting through plain text would strip your formatting. Once you have the PDF, you can merge it with other PDFs if needed.
Frequently asked questions
Does converting text to PDF keep my line breaks and formatting?
Yes — line breaks, paragraphs, and spacing are preserved exactly as you typed or pasted them. Plain text has no bold or italic styling to lose, so what you see in the editor is what lands in the PDF.
Can I convert text to PDF on my phone?
Yes. Open the text-to-PDF tool in your phone's browser, paste or type your text, and tap convert. On iPhone you can also share a note to Print and pinch out on the preview to save a PDF.
Is there a limit on how much text I can convert?
There is no fixed limit — conversion happens locally in your browser, so the only constraint is your device's memory. Multi-page documents convert without issues.