Skip to content
PDFlora

Create a PDF from plain text

Paste your text or open a .txt file, choose a font and layout, and download a neatly paginated PDF. The text is processed in your browser and not uploaded.

In your browser
Loading the tool…

How it works

  1. Step 1: Paste your text into the box, or open a .txt file.

  2. Step 2: Choose the font, font size and line spacing.

  3. Step 3: Set the page size and margins.

  4. Step 4: Select Convert and download the PDF.

From raw text to a readable document

Plain text has no pages: it is one long stream of characters. This tool lays that stream out for print. It wraps long lines at the margin, starts a new page when one fills up, and applies the font, size and line spacing you choose, so a notes file or a log becomes a document you can share, print or archive.

You pick the typeface from three standard PDF fonts (Helvetica, Times and Courier), the font size, the page size, the margins and the line spacing. Nothing is embedded that you did not choose, and because the fonts are standard ones, the file stays small.

Why use this tool

Wrapping and pages done for you

Long lines wrap at the margin and text flows onto new pages, so you never lay out a page by hand.

Three classic typefaces

Helvetica for a clean modern look, Times for reading, and Courier when alignment and spacing must be kept, as in code or logs.

Small, portable files

Standard fonts keep the PDF small and make it open the same way on any device.

Private and instant

The text is turned into a PDF by your browser, so drafts, notes and personal letters are not sent to a server.

Common uses

  • Archiving a text log

    Save a build log, a chat export or a server report as a PDF with a monospaced font so columns stay lined up.

  • Turning notes into a handout

    Paste meeting notes or a checklist and produce a tidy printout with comfortable line spacing.

  • Sending a letter without a word processor

    Type a short letter, choose margins and a serif font, and send it as a PDF from a device with no office software.

  • Attaching plain text to an application

    Some portals only accept PDF; convert a text-only cover note or statement into one.

  • Printing a text file

    Format a .txt file with proper margins and page breaks before sending it to a printer.

Choosing font, size and spacing so the pages read well

A monospaced font such as Courier gives every character the same width, which is the right choice for code, logs, tables made of spaces and anything where columns must line up. It also produces more lines per page than you might expect, so a smaller size often works well. For continuous prose, Times reads comfortably in print and Helvetica looks cleaner on screen.

Size and line spacing work together. Around 11 or 12 points with a little extra spacing suits a document meant to be read; 9 or 10 points with tight spacing fits a long log on fewer pages. Generous margins make text easier to read and leave room for binding, while narrow margins pack in more text per page but look crowded.

  • Code, logs and aligned text: Courier, 9 to 10 points.
  • Letters and notes: Times, 11 to 12 points, normal margins.
  • On-screen reading: Helvetica, a little extra line spacing.

Supported formats

Input
Text pasted into the box, or a plain text file (.txt).
Output
One PDF file, with automatic wrapping and pagination.

Latin-script text only, including Western European accents. For other scripts use Word to PDF.

Good to know

  • Only Latin-script characters are supported. Accented Western European letters work; Arabic, Chinese, emoji and other characters are replaced with a question mark and you are warned.
  • The output is plain text on pages: no bold, italics, headings, images or tables. For headings and lists, use Markdown to PDF.
  • Only Helvetica, Times and Courier are available; there is no custom font upload.
  • Very long texts are limited by your device's memory, and the tool refuses PDFs above 2,000 pages.

Your files never leave your browser

This tool runs entirely on your device using your browser. Your files are not uploaded to our servers and are not stored anywhere. Closing the tab discards everything.

Frequently asked questions

Can I convert Arabic or Chinese text?

Not in this tool. It supports Latin-script characters only, and other characters are replaced with a question mark with a warning. For other scripts, write the document in a word processor and use Word to PDF.

Does it work with accented letters like é, ñ or ü?

Yes. Western European accented letters are supported. Characters outside the Latin script, and emoji, are not.

Can I convert a .txt file?

Yes. Open the .txt file in the tool or paste its contents, then pick the font, size and margins.

Is my text uploaded to a server?

No. The PDF is built in your browser, so the text you paste is not sent anywhere.

How do I add page numbers to the result?

Convert the text first, then open the finished file in Add Page Numbers to place numbers on every page.

Next stepContinue with Markdown to PDFRender Markdown text or a .md file as a formatted PDF document.