Convert text to PDF
Turn notes, logs, letters or any plain text into a tidy PDF with real, selectable text, in English, Hindi, Arabic and more.
Or paste your text
- Processed on your device, never uploaded
- Free, no sign-up, no watermark
Done
This PDF is protected. Enter its password to open it.
About Text to PDF
Plain text files are easy to write but don't look great when you send or print them. This tool lets you convert text to PDF online for free. Open a .txt file or paste your text, and you get a tidy PDF with selectable text. Line breaks and paragraph spacing are kept.
You can set the page size, orientation and margins, and tell the tool whether to read your text as plain text or Markdown, or let it detect that for you. It works with languages such as English, Hindi and Arabic, and Indian and Arabic scripts are shaped correctly.
It is useful for notes, logs, letters and other plain text. Picture a support engineer who needs to attach a server log to a client report. She opens the .txt log, checks the preview, picks A4 and Landscape so long lines fit, and clicks Convert to PDF. The file is processed on your device and never uploaded.
How to use Text to PDF
- Drop a .txt file on the page or click Choose file. Or paste your text into the box and click Use this text.
- Check the preview. Line breaks are kept.
- Pick a Page size (A4, Letter, Legal or A3), an orientation (Portrait or Landscape) and Margins (None, Small, Normal or Wide).
- Under Read the text as, choose Detect, Markdown or Plain text.
- Click Convert to PDF and download your file. Click New file to start again.
Line breaks kept
Your text keeps its paragraphs and spacing.
Any language
Indian, Arabic and other scripts are shaped correctly.
Private by design
Done in your browser; your file is never uploaded.
Free, no limits
No sign-up, no watermark and no daily cap.
Example
Input: server-log.txt with long lines of output.
You choose A4, Landscape, Small margins and Plain text, then click Convert to PDF.
Result: a clean PDF with the log laid out line by line and text you can select and search.
Text to PDF: questions people ask
How do I convert a TXT file to PDF?
Open the .txt file or paste the text, then press Convert to PDF.
Can I paste text instead of uploading a file?
Yes. Paste it into the box and click Use this text.
Does it work with Hindi or Arabic text?
Yes. Indian and Arabic scripts are shaped correctly in the PDF.
Is my file uploaded?
No. Everything happens in your browser. It is also free, with no sign-up, no watermark and no daily cap.
Guides on this topic
All posts →
Edit PDF Online Free, in the Same Font: Meet Omebly's PDF Editor
Omebly's new PDF editor lets you click any word and change it in the same font, size and colour, free, with no sign-up, no watermark and no upload.
On-Page SEO Checklist for Beginners: 20 Fixes You Can Make Today
Twenty on-page SEO fixes a beginner can make today, from title tags and headings to image alt text, internal links, page speed and content that answers the search.
Introducing Omebly Explorer: A Free, Open-Source File Manager for Windows 11 and 10
Omebly Explorer is our free, open-source file manager for Windows. It does everything File Explorer does, then adds tabs, a viewer for every file, 51 PDF tools on the right-click menu, archives, a copy engine up to 18x faster, folder colours, tags and power tools, with nothing ever leaving your PC.