This free converter turns plain text into a neat, printable document. Paste your text or open a .txt file, choose the page size, margins and font size, and download. The PDF has selectable text, so people can search it and copy from it. Urdu and other non-English text work through the print option.
How do I convert text to PDF?
- Paste your text, or click to open a .txt file.
- Choose the page size: A4, Letter or Legal.
- Set the margins and font size.
- Click Download PDF.

The conversion runs in your browser. Your text is not uploaded.
Why convert TXT to PDF?
A .txt file looks different on every device and app. A PDF keeps the same layout everywhere and prints cleanly. Common reasons to convert txt to PDF:
- Submitting notes or answers to a portal that only accepts PDF.
- Printing a long list, script or log file with proper margins.
- Sharing meeting notes that should not be edited by accident.
- Archiving text files in a standard, long-lasting format.

Choosing page size, margins and font size
| Setting | Common choice | Why |
|---|---|---|
| Page size | A4 (most countries), Letter (US) | Matches local printers |
| Margins | 20 mm | Room for binding and notes |
| Font size | 11–12 pt | Comfortable to read when printed |
| Font size for code or logs | 9–10 pt | Fits long lines on the page |
Legal size is taller and is used for some contracts in the US and Pakistan. If lines wrap awkwardly, a slightly smaller font size usually fixes it.
Selectable text
People who receive your file can highlight a sentence and copy it into an email, which is not possible with a scanned image. The PDF is created with real text, not a picture of text. That keeps the file small, lets readers search for words and copy them, and lets screen readers read it aloud.
Urdu text to PDF
For Urdu text to PDF, Arabic or other right-to-left scripts, use the print option. Your browser then lays out the text with proper joining letters, and you choose "Save as PDF" in the print window. Type the Urdu first with the Urdu typing keyboard if you need to.
What happens to long lines?
Long lines wrap automatically at the right margin, so no text is cut off. Very long words or web links without spaces are broken onto the next line. If you are printing code or a log file where wrapping makes it hard to read, choose a smaller font size or wider margins until each line fits.
Tips
- Add blank lines between sections so the PDF is easy to scan.
- Use a monospaced layout for code and tables made with spaces.
- Check the page count in the preview before you send it.
Plain text vs a word processor
Text files have no bold, italics or headings. If your document needs those, write it in Word or Google Docs and use a Word to PDF converter instead. For lists, notes, logs, poems and simple letters, plain text is often all you need, and the PDF stays small and fast to open.
Related PDF tools
To add images, convert them with JPG to PDF and then join both files with merge PDF. For formatted documents, Word to PDF keeps headings and tables, and Markdown to PDF turns simple formatting into a styled document. To add page numbers afterwards, use add page numbers to PDF.
