TurnIntoPDF

Convert text to PDF

Turn TXT, Markdown, JSON and code files into a clean PDF. Add several, put them in order, and download.

FreeFiles never leave your deviceNo sign-up
Drop text files here

Other files work too. Everything combines into one PDF.

  • PhotosHEIC, JPG, PNG, WebP
  • WordDOCX
  • ExcelXLSX, XLS, CSV
  • TextTXT, MD, JSON, code
  • Web pagesHTML
  • PDFsCombine them

Automatic keeps each photo's shape and puts documents on Letter pages. PDFs you add keep their own pages.

Add files to get started.

How to convert text files to PDF

  1. Tap Choose files or drag your text files onto the box. You can add other files too.
  2. Put the files in order with the arrows and remove any you don't need.
  3. Pick a page size, or leave it on Automatic.
  4. Tap Convert to PDF, then Download PDF.

How text files look in the PDF

Text is set in an easy-to-read fixed-width font, keeping your line breaks and spacing. JSON files are neatly indented automatically. It works for notes, logs and source code.

Questions

Which file types count as text?

TXT, MD, JSON, XML, YAML, LOG, INI and most code files, including JS, Python, Java, C and SQL.

Is there a length limit?

Up to 30,000 lines per file are included.

Are my files uploaded anywhere?

No. Everything is converted inside your browser, so your files never leave your phone or computer. That makes it safe for IDs, contracts and bank statements.

Can I select the text in the PDF?

Pages from PDFs you add keep their text. Photos, documents, spreadsheets and text files are turned into page images, so they look the same everywhere but their text can't be selected.

Is it free?

Yes, with no sign-up, no watermark and no file limit.