Skip to content

Convert text to PDF

Paste text or open a .txt file and get a clean, printable PDF. Hindi and English both work, and everything happens in your browser, so your text is never uploaded.

Loading tool…

Everything runs on your device. Nothing you add or type is sent to any server.

How to use it

  1. 01

    Drop a .txt file into the box, or type or paste your text into the text area.

  2. 02

    Pick the page size, font size, margins and font. The preview shows how page 1 will look.

  3. 03

    Press Download PDF. For text with the smallest file size, use Print / Save as PDF instead.

Hindi text that looks right

Hindi breaks easily in a PDF: when the PDF engine cannot shape Devanagari, matras land in the wrong place and joined letters such as क्ष, त्र and श्र fall apart. This tool lets your browser draw the text, the same way it draws Hindi on any web page, so conjuncts and matras come out correctly. Mixed Hindi and English on one line works too.

Download PDF stores each page as a sharp 200 dpi image with an invisible text layer on top. You can still search the PDF and copy text from it, and the page looks the same on every device. Print / Save as PDF uses your browser's print window instead and writes real vector text, which is smaller and stays sharp at any zoom.

Layout options

Choose A4 or US Letter. Font sizes go from 9 to 20 points, and margins can be narrow (half an inch), normal (one inch) or wide (one and a half inches). Long lines wrap at word boundaries, blank lines and indentation are kept, and tabs become four spaces. The monospace font keeps columns lined up for code, logs and simple tables. Download PDF adds page numbers at the bottom unless you turn them off.

Private on your device

Notes, letters, transcripts and drafts stay on your device. The text file is read by your browser and the PDF is made there. Nothing is sent to a server.

Frequently asked questions

Why does my Hindi text show as boxes or broken letters elsewhere?

Usually the program making the PDF cannot shape Devanagari. Here the browser does the shaping, so the PDF shows the text as you see it in the preview.

Can I copy text from the PDF?

Yes. Download PDF adds an invisible text layer, so Hindi and English text can be searched and copied. With Print / Save as PDF your browser writes the text itself, so how well Hindi copies depends on the browser.

What file types can I open?

Plain text files such as .txt, .md, .csv, .log and .srt, up to 10 MB. Word files need the Word to PDF tool.

My file shows strange characters. What can I do?

The file may use an old encoding. Open it in Notepad, choose Save As with UTF-8 encoding, and open the new file here.