Add to Chrome Add to Edge

Text to PDF Converter

Turn plain text or a .txt file into a PDF with the font, size and margins you choose.

Text to PDF Converter

Converted in your browser: nothing is uploaded.

Latin text is written with real PDF fonts, so it stays sharp, small and selectable. Text in other alphabets (Arabic, Urdu, Chinese, Cyrillic…) is converted as an image of the page instead.

Text to PDF Converter

Text to PDF turns plain text into a tidy PDF document. Type or paste text, or choose a .txt file, pick a font, size, page size and margins, and download the PDF. Lines wrap to fit the page, long words are broken where needed and new pages are added automatically. Everything happens in your browser.

How to convert text to PDF

  1. Type or paste your text, or choose a .txt file.
  2. Choose the font: Helvetica (clean sans-serif), Times (classic serif) or Courier (monospaced, for code and tables).
  3. Pick the font size (9 to 14 pt), the page size (A4, US Letter or US Legal) and the margins (none, 10, 15 or 25 mm).
  4. Click Download PDF.

How your text is handled

  • Line breaks, blank lines and spaces are kept exactly as typed, so lists and simple layouts survive.
  • Latin-alphabet text (English and most European languages) is written with real PDF fonts, so it stays sharp, searchable and small.
  • Other alphabets, such as Arabic, Urdu, Chinese or Cyrillic, are converted too, as page images; that text looks right but cannot be selected or searched in the PDF.
  • Plain text has no bold, headings or links. For formatted documents, write in Markdown and use Markdown to PDF.

When it comes in handy

  • Turning notes, logs, transcripts and plain-text exports into a document you can share.
  • Printing code or configuration files in a monospaced font so columns line up.
  • Sending text to someone, or a portal, that only accepts PDF files.

Converting a web page or HTML instead? Use HTML to PDF. To combine the result with other documents, use Merge PDF.

Frequently asked questions

Is the formatting kept?
Line breaks, blank lines and spaces are kept. Plain text has no bold or headings; use Markdown to PDF for formatted documents.
Which font should I choose?
Helvetica for everyday documents, Times for a traditional printed look, and Courier when characters need to line up, as in code, logs and text tables.
How long can the text be?
A .txt file can be up to 5 MB, which is several million characters; long texts simply get more pages. Very long documents depend on your device's memory.
Is my text uploaded?
No. The PDF is created in your browser, so your text never leaves your device.

Related guides

Choose which cookies SEOpeck may use. You can change this at any time from "Cookie settings" at the bottom of every page.

Your tools

    Saved in this browser only. Nothing is sent to us.

    Popular tools