Text to PDF

Lay out a .txt file as a tidy PDF with your choice of font, size and page format.

How it works

  • Long lines are wrapped to the page width rather than cut off, and pages break automatically.
  • Choose Helvetica, Times or Courier and a font size from 8 to 16 pt; line spacing follows automatically.
  • Optional line numbers are drawn in the left margin and are handy for logs and source listings.
  • The PDF is built on your device with pdf-lib.