Handitab

Text to PDF

Convert plain text into an A4 PDF document with automatic line wrapping and page breaks, in Helvetica, Times, or Courier at your chosen size.

About Text to PDF

A text to PDF converter lays plain text out on PDF pages. This tool uses pdf-lib to write your text on A4 pages with 56 point margins, wrapping lines at word boundaries and starting a new page when one is full. It uses the built-in Helvetica, Times, or Courier fonts, which cover Western European characters only. Other characters, including Cyrillic, Arabic, CJK, and emoji, are replaced with question marks. No bold, headings, or images.

How to use Text to PDF

  1. Type or paste into the "Text" box, or press "Use example" to try it with sample data.
  2. Set "Font size" and "Font" if the defaults do not fit.
  3. The result appears below and updates as you type.
  4. Copy the result with the copy button, or download it as a file where that is offered.

Questions about Text to PDF

Why did some characters turn into question marks?

The three built-in PDF fonts only contain Latin letters and common Western European accents. Characters outside that set, such as Cyrillic, Arabic, Chinese, or emoji, cannot be drawn, so the tool substitutes a question mark for each.

Can I format the text with bold, headings, or a different page size?

No. The whole document uses one font and one size on A4 pages, and Markdown or HTML markup is printed literally. Use a word processor and its export to PDF when you need formatting.

Runs in your browser. Page last updated .

More pdf tools

All 10 pdf tools