Skip to content
New Tool

TXT to PDF

Turn a plain text file, or text you paste, into a neat, searchable PDF. Long lines wrap to the page, and you choose the font, size, page size and margins.

Drop a text file here

or

Your files stay on your device. Nothing is uploaded.

How to convert TXT to PDF

  1. Choose or drop a .txt file, or paste text into the box.
  2. Choose the font, text size, page size and margins.
  3. Select “Convert to PDF” and download it.

Private by design

Most online PDF tools upload your document to their servers. This one doesn’t: TXT to PDF runs entirely in your browser, so contracts, forms, IDs and photos never leave your device. It’s free and adds no watermark, and you don’t need an account.

Is your file Markdown? This tool prints it as it is, # and * included. Markdown to PDF lays out the headings, lists, tables and code instead.

Questions

Which languages are supported?

The sans and serif fonts cover Latin, Greek and Cyrillic alphabets, including accents and Vietnamese. Chinese, Japanese, Korean and right-to-left scripts aren't supported yet.

Will the text in the PDF be searchable?

Yes. It's real text, so you can search, select and copy it.

Can I convert code or log files?

Yes. Choose the monospace font to keep columns lined up. Any plain-text file works, whatever its extension.

Are my files uploaded?

No. Every tool runs in your web browser, so your files are read, changed and saved on your own device and never sent to LabAnvil or anyone else. Once the page has loaded, the tools even work offline.

Is it free? Do I need an account?

Free, with no watermark, no daily limit and no account.

Part of PDF Tools

18 free PDF tools that run in your browser: merge, split, compress, convert, edit, sign and fill in PDFs without uploading them anywhere.

About PDF Tools

A little guidance

All guides
See all

Markdown Tools

Tool · New

18 free Markdown tools that run in your browser: an editor, slides, a README generator, Markdown to PDF, Word, Slack and Jira, a linter and more.

Label Maker

Tool · New

Print labels from Excel, Google Sheets or a CSV file: pick an Avery-compatible sheet, skip used labels and download a PDF. Addresses, QR codes and barcodes.

14 free printable planners and trackers: weekly and monthly plans, routines, meals, chores, budgets, workouts and more. Edit and print in your browser.

Search by name, description or tag. Press Enter to see every match.