Text to PDF

Paste any text or open a .txt file and get a neatly laid-out PDF with proper margins.

  • Free
  • No upload
  • No watermark
  • Works on mobile

Loading tool…

This tool needs JavaScript and runs on your device.

Perfect for notes, letters & messages

  • A4, Letter or Legal pages
  • Choose font and size
  • Hindi and Indian scripts supported
  • Text never leaves your device

How do I convert text to PDF?

Quick answer

Paste your text into the box (or open a .txt file), choose the page size and font, and press Create PDF. Lines wrap automatically inside 2 cm margins and new pages are added as needed. English text stays selectable in the PDF; Hindi, Tamil and other scripts are drawn with your device's fonts so they display correctly.

  1. Paste text or open a .txt file.
  2. Pick page size, font and font size.
  3. Press Create PDF and the file downloads.

By the jpgtopdf team · Updated

Convert Text to PDF Online

Paste any text or open a .txt file and convert text to PDF with neat margins and automatic page breaks. Good for letters, notes, messages and logs. Have a photo of text instead? Use JPG to text first.

Illustration of text converted into a PDF document
Paste text, get a tidy PDF.

Why use our Text to PDF tool?

How to convert text to PDF

  1. Paste your text, or tap Open .txt file.
  2. Choose page size: A4, Letter or Legal.
  3. Pick a font and font size.
  4. Name your file.
  5. Tap Create PDF; it downloads straight away.

Where people use it

Good uses for text to PDF

Hindi and other Indian languages

Standard PDF fonts only contain Latin characters. When your text includes Devanagari, Tamil, Bengali or other scripts, the tool lays the pages out with your device's own fonts and saves them as high-resolution page images, so every character appears correctly. Such pages print well but their text cannot be selected.

Hindi text to PDF (and other Indian languages)

Many text-to-PDF converters turn Hindi into boxes or blank spaces because the standard PDF fonts only cover English letters. This tool detects Devanagari, Tamil, Telugu, Bengali, Gujarati and other scripts and lays the page out with your phone's or computer's own fonts, so every matra and conjunct appears correctly. Those pages are saved as sharp page images: they print and share perfectly, but the text cannot be selected in the PDF.

Word, RTF and ODT files

This converter reads plain text (.txt) and anything you paste. For a Word (.docx), rich text (.rtf) or OpenDocument (.odt) file, open it and copy the text into the box (formatting such as bold and tables will not carry over), or use the app's own "Save as PDF" option, which keeps the layout. Have a photo of a document instead? JPG to text pulls the words out first.

Text to PDF: this tool vs typical online tools

What changes when the work happens on your own device

Feature✅ jpgtopdfTypical online tool
🔤 Indian scripts✅ Hindi and more render correctly❌ Often boxes or blanks
📄 Page setup✅ A4, Letter, Legal❌ A4 only
🔡 Fonts✅ Sans, serif, mono❌ One font
🔒 Privacy✅ Stays on your device❌ Often uploaded to a server
💧 Watermark✅ Never❌ Sometimes on free plans
💰 Cost✅ 100% free❌ Free with limits or paid

🏆 Perfect for quick documentsFrom pasted text to a clean PDF in one tap.

Text to PDF FAQs

Can I convert a .txt file to PDF?

Yes. Use Open .txt file, check the text in the box, then press Create PDF.

Does it keep line breaks?

Yes. Each line break in your text is kept, and long lines wrap to fit the page.

Can I add images?

This tool is for text. To make a PDF from photos, use the JPG to PDF converter.

Is the text sent to a server?

No. The PDF is generated in your browser with jsPDF.

How do I convert a text file to PDF?

Tap "Open .txt file", check the text in the box, choose page size and font, and press Create PDF.

Can I convert Hindi text to PDF?

Yes. Paste the Hindi text and press Create PDF. It is drawn with your device's fonts, so it displays correctly.

Can I convert copied text to PDF?

Yes. Paste any copied text (from WhatsApp, email or a website) into the box and press Create PDF.

Can I convert RTF or Word files here?

Copy their text into the box, or use Save as PDF in Word or Google Docs to keep the formatting.