PDFPhotoTools

Text to PDF

Got a .txt, .log or .csv file that you need to send or print as a PDF? Drop it in, pick the paper, font and size, and get a clean PDF where every line wraps neatly at the margin. Your text is not changed: blank lines and indentation stay where they were.

Runs in your browser. The file is never uploaded

Drop your file here

or paste from the clipboard · TXT, TEXT, LOG or CSV up to 200 MB

How to convert a text file to PDF

  1. 1

    Add the text file

    One .txt, .text, .log or .csv file, up to 8 MB.

  2. 2

    Choose how it looks

    Paper A4, Letter, Legal or A5. Helvetica, Times or Courier, from 6 to 48 point. Line spacing from single to double, and the margin in millimetres. Courier keeps the columns in log files lined up.

  3. 3

    Convert

    You get a PDF with the same name as your file, like notes.pdf, and a note with the number of pages.

  • Your file never leaves your device
  • Free, with no account and no watermark
  • Real progress, not an endless spinner

Questions

Can it write Hindi, Gujarati or Chinese?

Not yet, and it tells you so instead of making a PDF full of empty boxes. The fonts built into every PDF reader cover Latin letters, digits and common punctuation, including accented letters like é and ü. Other scripts need a font this tool does not carry yet.

My file is refused even though it is in English. Why?

It was probably saved in an old encoding, such as ANSI, with an accented letter or a curly quote in it. Open it in Notepad, choose Save as, set Encoding to UTF-8, and try again.

What happens to lines longer than the page?

They wrap onto the next line at a space. A long unbroken run, like a web address, is split across lines. The words themselves are never changed or left out.

Are tabs and indentation kept?

Leading spaces and blank lines are kept. Each tab becomes four spaces. If your file mixes tabs and spaces to line things up, choose Courier and check the result.

Related tools

Missing something in Text to PDF?

Suggest an improvement or a new tool. It takes a minute.

esc