Text to PDF Converter

Type or paste plain text and save it as a clean, printable PDF. Choose A4 or Letter, font, size, margins and line height.

⚠️ Plain text only — not a .docx converter

  • This tool converts plain text → PDF using your browser's print engine
  • Tables, images, and rich formatting (bold, italic) are not preserved
  • Have a Word file? Use the Word to PDF converter instead

Document Content

Page Settings

How to save as PDF

  1. Click “Save as PDF” above
  2. In the Destination / Printer dropdown, choose “Save as PDF” (Microsoft Print to PDF also works)
  3. Untick “Headers and footers” if you don't want the date and URL printed
  4. Click Save

What this tool is for

Sometimes all you have is text — notes, a log file, a README, a letter drafted in a chat app, an exported transcript — and someone needs it as a PDF. Opening a word processor just to set margins and export is overkill. This page lays your text out on real A4 or US Letter pages with the font and spacing you choose, and hands it to your browser's built-in PDF printer. The result is a normal PDF with selectable text, generated without uploading anything.

How to convert text to PDF

  1. Type or paste into Document Content.
  2. In Page Settings, set the Document title, Page size, Font family, Font size, Margins and Line height. The editor previews the font, size and spacing.
  3. Click Save as PDF.
  4. In the print dialog choose Save as PDF as the destination, untick Headers and footers if shown, and save.

Worked example

Paste this short packing list:

Trip checklist

Documents
    - Passport
    - Tickets

Clothes
    - 3 shirts

With A4, Sans-serif, 12 pt, 25 mm margins and title Trip checklist, the PDF has a 25 mm margin on all four sides of every page, the four-space indents and the empty lines are kept exactly, and the browser suggests the file name Trip checklist.pdf. If the text runs onto a second page, that page gets the same top margin as the first — the margins are defined with the CSS @page rule, which applies to every printed page.

Settings explained

  • Page size: A4 (210 × 297 mm) for most of the world, US Letter (8.5 × 11 in) for the US and Canada. If the print dialog has its own paper setting, keep it consistent.
  • Font family: generic serif, sans-serif and monospace fonts plus Georgia. The exact typeface depends on the fonts installed on your device; Monospace is best for code and fixed-width tables.
  • Font size 8–24 pt; 11–12 pt is normal body text.
  • Margins 10–40 mm on every side. Printers usually need at least 5 mm.
  • Line height 1.0–3.0; 1.4–1.6 reads comfortably, 2.0 is "double spacing".

Limitations

  • Plain text only: no bold, headings, images or tables. Markdown symbols are printed as-is.
  • The PDF is produced by the browser's print engine, so page breaks and font rendering differ slightly between Chrome, Firefox and Safari.
  • Some mobile browsers have limited print support; on iOS use Share → Print, then pinch out on the preview to save as PDF.
  • No page numbers are added by this tool; the browser's Headers and footers option can add them along with the date and title.

Tips

Frequently Asked Questions

How do I save the text as a PDF?

Click the Save as PDF button. Your browser's print dialog opens; set Destination (or Printer) to Save as PDF — Microsoft Print to PDF on Windows also works — and click Save.

Is the text in the PDF selectable and searchable?

Yes. The browser prints real text with real fonts, not an image, so you can select, copy and search it, and screen readers can read it.

Are spaces, indentation and blank lines kept?

Yes. The text is printed with white-space preserved, so indented lines, several spaces in a row and empty lines appear exactly as typed. Very long words or URLs wrap instead of running off the page.

Can I convert a Word document with this tool?

Not directly — it accepts plain text only, so bold, tables and images are not kept. For .docx files use the Word to PDF converter, which keeps headings, lists, tables and images.

Why are there a date and a URL at the top of my PDF?

Those are the browser's own headers and footers. Untick Headers and footers under More settings in the print dialog before saving.

Is my text uploaded?

No. The page is built and printed locally in your browser; the text never leaves your device.