Text to PDF

Type, paste or open a text file and make a PDF of it: A4 or Letter, font, size and margins, Hindi and other Indian scripts too — checked and ready to download.

PDF Workspace

Nothing open
On this device

Text to PDF

A blank line stays a blank line; a form feed character starts a new page.

Your text is laid out and written in this browser. It is not uploaded to ToolsDev or anyone else.

Or to add the text to.

No PDF openProcessed in this browser — nothing is uploaded

Runs in your browser — nothing you enter leaves this device.

About this tool

What it does

Text to PDF makes a PDF from plain text: something you type or paste, or a .txt file from Notepad, a log, a CSV or a Markdown file shown as it is written. Choose A4 or US Letter, Helvetica, Times or Courier, a size from 9 to 16 points and narrow, normal or wide margins. The text is wrapped between words to fit the page, and long texts run over as many pages as they need. Hindi, Tamil, Bengali and India's other major scripts, Arabic, Urdu (in Nastaliq, its own flowing style, on lines tall enough for it), Hebrew, Thai, Chinese, Japanese, Korean, Greek and Cyrillic are drawn correctly — joined, stacked and in the right order — in Noto fonts carried inside the file. The text stays real text: it can be selected, searched and copied in any PDF reader.

How to use it
  1. Type or paste the text, or press Open a text file.
  2. Choose the page size, font, size and margins.
  3. Press Make PDF pages. The pages appear; add more text after them, or add page numbers, a watermark or other PDFs in the same place.
  4. Press Download PDF. The file is made, opened again and checked page by page before it is offered.
Limits and your data
  • Plain text only: no bold, italics, headings, tables or pictures. Markdown is shown as typed, with its # and * marks; to print formatted Markdown, use the Markdown workspace and its PDF export.
  • Chinese, Japanese and Korean are drawn in Noto Sans SC, JP and KR, loaded a few hundred characters at a time as the text needs them; Han characters take Japanese forms in a line with kana, Korean in one with Hangul, Simplified Chinese otherwise. Emoji and rare characters cannot be drawn yet, and are named before anything is made.
  • Up to 2,000,000 characters at once (about 600 pages) and text files up to 8 MB. Run it again to add more; the new pages go after the last.
  • A line is wrapped between words; a word longer than the line is cut between letters. Thai, written without spaces, is wrapped between words found by your browser's dictionary. Tabs become spaces to the next stop of four, and a form feed character starts a new page.
  • A file that is not UTF-8 is read as Windows-1252, and you are told; if letters look wrong, save it as UTF-8 first.
  • Right-to-left paragraphs are set against the right margin. A wrapped line inside such a paragraph that starts with an English word is ordered as that line reads on its own.
  • Your text is laid out and written in this browser tab. It is not uploaded to ToolsDev or anyone else, and nothing is saved: closing the tab ends the session, so download what you want to keep. The page downloads its own code, and the fonts a script needs and the shaping engine when the text has letters beyond basic Latin, from toolsdev.in — none of those requests carries your text.

Questions

Will the PDF look the same everywhere?

Yes. Latin text uses the fonts every PDF reader has; any other script is drawn in a font carried inside the file, cut down to the letters used, so it looks the same on a phone, in Acrobat or in a browser.

Can I write in Hindi or Tamil?

Yes. The words are shaped by HarfBuzz, the engine browsers use, so conjuncts, vowel signs and marks come out as they should — and copying text from the PDF gives back what you typed.

Which font should I choose?

Helvetica for letters and notes, Times for longer reading, Courier for code, logs and anything lined up in columns, because every letter is the same width.

Can I add page numbers or a heading on every page?

Page numbers, yes: after making the pages, open Numbers. A text or logo watermark is in Watermark. A heading on every page is not built yet.

Is my text sent anywhere?

No. It is laid out and written by your own browser, in the background, and never leaves this tab.