🗒️

Text to PDF

Turn text or TXT files into PDF with page, font, margin, and font family settings.

Convert text to PDF with paper size, font size, line height, and margin controls. Runs locally.

Settings

mm

Tip: To support Chinese without downloading large font files, we use Canvas rendering. This ensures correct display everywhere, but the "Download PDF" version is image-based. For selectable text, use "Print PDF" and select "Save as PDF".

Chars: 0Lines: 1

Preview

No Preview

About This Tool

A high-demand text-to-PDF tool for turning notes, drafts, snippets, or records into shareable PDFs. Paste text directly or select TXT files, choose A3/A4/A5/B5/Letter/Legal/Tabloid, set orientation, font size, line height, margins, and font family (System Default/SimSun/SimHei/KaiTi/Monospace). The tool wraps lines, paginates automatically, and lets you download or print the PDF instantly. The print feature produces selectable text PDFs. Everything runs locally in your browser for privacy.

Features

  • 📝 Text Input: Paste text or select TXT files
  • 🔤 Font Selection: System Default, SimSun, SimHei, KaiTi, and Monospace
  • 📄 Paper Options: A3, A4, A5, B5, Letter, Legal, Tabloid sizes supported
  • 📐 Layout Control: Adjust font size, line height, and margins
  • 🔁 Auto Pagination: Long text wraps and paginates automatically
  • 👁️ Live Preview: Preview PDF before downloading
  • 💾 One-click Download: Save the PDF instantly
  • 🖨️ Print Support: Print to create selectable text PDFs
  • 🛡️ Local Processing: All in-browser, privacy-safe