Skip to content

Text to PDF

Paste text or drop a .txt file and get a tidy, paginated PDF — page size, font and margins your way, all on your device.

A .txt or .md file — or just type below · the PDF is built on your device, nothing is uploaded

Your text

1 page
.pdf

Page 1 preview

Advanced settings (optional)
Page & type
Page size
Font
Text size
12

Point size of the body text.

Line spacing
1.4

Multiplier of the text size.

Margin
56

Blank border around the text, in points.

0 lines · 1 page · built in your browser

Runs in your browser. Files are never uploaded — you can go offline after the page loads.

How to use the Text to PDF

  1. Paste your text, or drop a .txt or .md file.
  2. Set the page size, font, text size and margins — the page-1 preview updates live.
  3. Download a clean, paginated PDF.

Easy to use

Drop files, pick options, download. Whole folders at once, no signup, no daily limit.

Best quality

The same engines the professionals use — SVGO, resvg, MozJPEG, libwebp, libavif — compiled to run in your browser.

Private & secure

Files are processed on your device and never uploaded. Close the tab and nothing remains anywhere.

A real PDF, not a screenshot

Notes, a cover letter, a log, a chunk of copy — anything that lives as plain text can become a proper paginated PDF here. Long lines wrap to the page width automatically and the text flows across as many pages as it needs, with your blank lines kept so the structure survives. The page-1 preview shows exactly how it will look before you download.

It is built entirely in your browser with pdf-lib, so the text never leaves your device — which matters for anything you would not paste into a random website. If you want images turned into a PDF instead, use Image to PDF; to combine several PDFs afterwards, Merge PDF.

Frequently asked questions

Does my text get uploaded?

No. The PDF is assembled entirely in your browser with pdf-lib, so whatever you paste — notes, a letter, a log — never leaves your device.

Will long paragraphs wrap?

Yes. Each line is measured against the page width and wrapped automatically, and the text flows onto as many pages as it needs. Blank lines in your input are preserved so your structure survives.

Can I use my own font?

This tool uses the three PDF standard families (Helvetica, Times, Courier) so the file stays tiny and opens identically everywhere. For a branded font, export here and add it in a full editor.

Your files never leave your device

Most online converters upload your file to a server. InfyTool ships the actual encoders to your browser as WebAssembly instead, so processing happens inside your tab — faster for batches, and nothing to delete afterwards.

  • No upload, ever. Turn off Wi-Fi after the page loads and every tool keeps working.
  • No limits. No file-size cap, no queue, no watermark, no account.
  • Runs on your CPU. Batches use several cores in parallel; nothing is throttled.

More free tools

Need icons or SVGs to start from?

InfyTool is built by the same team as these free libraries.