How to convert a text file to PDF
- Add your text files (TXT, MD, CSV, LOG, JSON, PY, JS).
- Choose the page size, text size and font.
- Click Convert to PDF and download the result.
A .txt file looks different in every program that opens it and often prints badly. As a PDF it keeps its line breaks and spacing, and can be attached to a file, archived or printed as is. That is handy for meeting notes, an error log for a support team, a list exported as CSV or a piece of code to hand in for an assignment.
Set the text size (small, normal or large) and the page size. Tick “Monospaced font” for code, logs or tables lined up with spaces: every character takes the same width, so columns stay aligned. Lines that are too long wrap onto the next line instead of being cut off.
Accented letters and special characters are read correctly in the usual encodings (UTF-8, Windows). Up to 50 files can be converted at once, and all of them are deleted after 30 minutes. Each text file becomes its own PDF, named after the original file.
Frequently asked questions
Is it free?
Yes, text to PDF is free and needs no sign-up.
Which files can I convert?
TXT, Markdown (MD), CSV, LOG and JSON files, plus Python (PY) and JavaScript (JS) scripts.
Do accented characters show correctly?
Yes, the file's encoding (UTF-8 or Windows) is detected automatically so accents are kept.
Is Markdown formatted?
No, the file is printed as plain text with its symbols, so the content is exactly what is in your file.
What is the monospaced font for?
It gives every character the same width, which keeps code indentation and space-aligned columns intact.