Back to catalog

Text to PDF

Generate a PDF from plain text with a basic title, font size, and margins.

ActiveDocumentsFree
Loading tool...

About this tool

Text to PDF takes plain text and produces a simple A4 or Letter PDF with optional title, font size, and margins.

How to use

  1. Paste or type the text you want to convert.
  2. Optional: add a title and pick font size, margin, and page size.
  3. Click generate to download the PDF.

Use cases

  • Quickly print a snippet of text without opening an editor.
  • Generate a simple PDF to share notes or instructions.

Limits

  • Plain text only: no images, tables, markdown, or custom fonts.
  • Up to 200,000 characters per document.
  • Helvetica, Times, or Courier; size 8 to 32 points.

Privacy

Processing happens in your browser — we don't upload your files.

Common errors

  • Empty text: enter at least some content.
  • Text too long: split it into smaller chunks if it exceeds the limit.

Technical notes

  • Uses pdf-lib with StandardFonts (Helvetica, Times, Courier).
  • Word-wrap computed with the real font metric.

Related tools

Technical details
ID
text-to-pdf
Slug
/en/tools/text-to-pdf
Backend
Not required
AI
Not required
API
Planned