Skip to the content

Contact usFree tools · No signup · Files stay on your device

Text to PDF Converter

Paste text or open a .txt file and get a clean PDF in seconds. Pick the page size, margins, font and page numbers, and choose whether paragraphs flow or every line stays exactly as typed. Nothing is uploaded.

  • PrivateYour PDF never leaves this device
  • No uploadsProcessed in your browser, not on a server
  • 100% freeNo signup, no watermark, no trial
  • UnlimitedUse it as often as you like, no daily caps

How we protect your privacy →

Text

Text settings

Layout
Blank lines start a new paragraph; line breaks inside a paragraph are kept.

PDF options

Long lines wrap to the page, tabs become four spaces. Converted in your browser: your text is never uploaded.
Was this tool helpful?

More than one job for these files? merge, arrange, number, watermark, compress and protect in one go, without downloading in between.Continue in PDF Studio

How it works

How to use the Text to PDF.

4 short steps. Nothing to install, nothing uploaded.

  1. 1

    Paste your text, type it, or open a .txt file (also .log, .csv, .json and similar).

  2. 2

    Choose the layout: Paragraphs (blank lines separate paragraphs) or Exactly as typed (typewriter font, every space kept). Add a title if you want one.

  3. 3

    Pick the page size, margins, font, text size and page numbers.

  4. 4

    Click “Convert to PDF & download”; the PDF is saved to your device.

Guides

Guides for Text to PDF

All

Text to PDF: the complete guide to converting TXT files to PDF

How to convert plain text or a TXT file to PDF in your browser: Paragraphs or Exactly as typed layout, title, page size, margins, page numbers and…

RTF to PDF: the complete guide to converting WordPad and TextEdit files

How to convert an RTF file to PDF in your browser: save a WordPad or TextEdit file as .rtf, what formatting is kept, what is left out, and how to fix…

Markdown to PDF: the complete guide to converting MD files

How to convert Markdown to PDF in your browser: what syntax is kept, page size, margins and font options, how tables, code and links behave, and fixes…

HTML to PDF: the complete guide to saving HTML as a PDF document

How to turn pasted HTML or a .html file into a PDF in your browser: what is kept, which inline styles are read, how tables, links and pictures behave.

Word to Text: the complete guide to getting plain text from Word files

How to get plain text out of a Word .docx file: how headings, lists, tables and links are laid out, how to wrap lines at 72 or 80 characters, and what…

How to convert Word to PDF without Microsoft Office

Four free ways to convert a Word DOCX to PDF without Microsoft Office: in your browser, Google Docs, LibreOffice and Word for the web, and what each…

Page 1 of 20
Questions

Frequently asked questions.

Quick answers about the Text to PDF.

Are my line breaks and spaces kept?
Yes. In Paragraphs mode a blank line starts a new paragraph and single line breaks inside it stay as line breaks. In Exactly as typed mode the text uses a typewriter font and every line, blank line and indentation is kept, which suits logs, code and tables made with spaces. Tabs become four spaces.
Does it work with Bangla and other languages?
Yes. Bangla, Arabic, Hindi, Chinese, emoji and other scripts are drawn by your browser so they look right in the PDF. That text is placed as small pictures, so it can't be selected or searched, while English and other Latin text stays real, selectable text; a symbol such as ৳ in an English line becomes a small picture on its own.
Is there a size limit?
There is no fixed limit; your device does the work. Hundreds of pages of plain text convert in a few seconds. Very large files, or text in scripts like Bangla, take longer because every piece is drawn separately.
Is my text uploaded anywhere?
No. The file is read and the PDF is made inside your browser, so the text stays on your device. It also works offline once the page has loaded.
Can I add page numbers?
Yes. Tick “Page numbers at the bottom” and every page gets “Page 1 of 3” at the bottom centre. You can also set an optional document title, which is printed at the top and saved in the PDF properties.