TXT to PDF Converter

Paste or type plain text and download it as a formatted PDF — no upload, no server, fully private.

Use the TXT to PDF Converter

Your Text

Enter text on the left, then click Convert to PDF

Done!

Summary

This tool converts any plain text you type or paste into a properly formatted PDF file — entirely inside your browser. The conversion uses pdf-lib, so your text never leaves your device. You can adjust the font size and page margins before downloading.

How it works

  1. Paste or type your plain text into the input area on the left.
  2. Adjust the font size and page margin sliders to your preference.
  3. Choose the page size (A4 or Letter) from the dropdown.
  4. Click "Convert to PDF" to generate the file in the browser.
  5. Preview the first page on the right, then click "Download PDF" to save.

Use cases

  • Save plain-text notes or drafts as portable PDF documents.
  • Convert a README or log file into a shareable PDF.
  • Archive terminal output or script results as a PDF.
  • Create a simple one-page PDF flyer from a text outline.
  • Turn raw copy-paste text into a clean, printable document.
  • Share plain text securely without revealing source formatting.

Frequently Asked Questions

Last updated: 2026-10-05 · Reviewed by Nham Vu