Why turn a text file into a PDF
Plain text is the most universal format there is, but it doesn’t print well. Open a .txt file in a browser and long lines run off the screen. Print it and you get whatever font and margins the app happens to choose.
A PDF fixes the layout. You choose the page size, the margins and the font, and the result looks the same on every device and printer. It’s useful for notes, transcripts, logs, configuration files, plain-text manuscripts and anything you need to attach to a form that only accepts PDF.
Monospace or proportional?
- Monospace gives every character the same width, so columns, ASCII tables, code and log files stay lined up exactly as they are in your editor.
- Proportional fonts are the kind you read in books and on websites. They’re easier on the eye for prose such as letters, notes, stories and transcripts.
Whichever you choose, long lines wrap to the width of the page. Your line breaks and blank lines are kept, so paragraphs stay where you put them.
Page settings
Pick A4 or US Letter, set margins and choose a base font size. Smaller text fits more on each page, which suits long logs. Larger text is kinder for reading and printing. As a rule, use A4 if you’re outside North America and Letter if you’re in it, so the PDF matches the paper in your printer.
Latin, Greek and Cyrillic scripts are supported. Text in other scripts may not display correctly, and the tool will let you know.
Conversion happens in your browser. Your file is never uploaded, which matters for logs and notes that often contain more than you’d like to share.
Tips
- Writing with headings, lists and links? Save it as Markdown and use Markdown to PDF for real formatting.
- Need tables and images? Put them in a Word document and use Word to PDF.
- Combining several text files? Convert each one, then join the PDFs with Merge PDF.
- Converting a log or data file with wide columns? Choose monospace, smaller margins and a smaller font so fewer lines wrap.
- Printing a long transcript or manuscript? A proportional font with a slightly larger size and generous margins is easiest to read on paper.