Toffeekit
  • Home
  • All tools513
  • Recent
  • Favorites
Categories
  • Images51
  • Video21
  • PDF33
  • AI24
  • Data21
  • SEO12
  • Developer32
  • Text27
  • Design18
  • Files13
  • Utilities5
  • Productivity17
  • Finance26
  • Math39
  • Education19
  • Date & Time29
  • Converters43
  • Fun & Random24
  • SaaS13
  • Business17
  • Social11
  • Media5
  • Security13
Buy me a coffee
ToffeekitPDFText to PDF

Text to PDF

Turn pasted text or a .txt file into a clean, paginated PDF. Runs entirely in your browser — nothing is uploaded.

Help
Runs locally Instant, no sign-up Works offline
Use cases

One click to the right settings

Save notes as a PDF

Easy-to-read sans text with comfortable spacing.

Print source code

Monospace with line numbers and the file name on every page.

Archive a log file

Small monospace text on landscape pages, so long lines fit.

Format a letter

Serif text with wide margins, like a printed letter.

How it works

How to use Text to PDF

  1. 01Paste text into the box, or click Open file to load a .txt, .md, .csv, .log or code file.
  2. 02Pick the page Size, Orientation and Margins, then the Font, Font size and Line spacing.
  3. 03Turn on Line numbers, Page numbers or File name at the top if you want them, and check the preview.
  4. 04Click Create PDF to download it.
Questions

Text to PDF FAQ

6 answers to what people ask most about the Text to PDF.

How do I convert a TXT file to PDF?

Click Open file and choose the .txt file, or drop it on the text box. Adjust the page options and click Create PDF.

Will my spacing and indentation be kept?

Yes. Spaces, blank lines and indents are kept as typed, and tabs line up to the tab width you choose. The Mono font keeps columns aligned exactly.

What happens to long lines?

They wrap at the page margin, breaking between words. Wrapped lines keep the original indent, so code and lists stay readable.

Is the text in the PDF selectable?

Yes, for Latin-alphabet text, which is written as real text you can search and copy. Text in other scripts, such as Chinese or Arabic, is drawn as sharp page images instead.

Can I convert code to PDF with line numbers?

Yes. Choose the Print source code preset, or turn on Line numbers. Only the first line of a wrapped line gets a number, like in a code editor.

Is Text to PDF free and private?

Yes. It's free with no sign-up or limits, and it runs entirely in your browser, so your files are processed on your device and never uploaded. It works on phones and computers alike.

Something not working? Tell us and we'll fix it.

Report an issue
More tools
Merge PDF

Combine several PDFs into one, in any order.

PDF
Split PDF

Split by every page, every N pages or custom ranges.

PDF
Organize PDF

Drag to reorder, rotate and remove pages.

PDF
Extract Pages

Pull selected pages into a new PDF.

PDF
Something off with Text to PDF? Report an issue or ask for a feature.Send feedback
© 2026 Toffeekit/Runs locally · No uploads · Free
AboutContactFeedbackPrivacyTermsCookiesSettingsllms.txt