Drop your text file
Drag a .txt, .md, .csv, .log or code file onto the workspace, or click Choose files. You can also paste text with Ctrl+V.
pdf2kit / TXT to PDF
PDF tool
Drop a .txt, log, CSV or code file and get a clean, printable PDF in one step - real, selectable text, not a picture of text. Your file never leaves your device.
TXT, Markdown, CSV, logs or code. It opens in the workspace on your device. Nothing is uploaded.
or press CtrlV to paste text
Step by step
Great for logs, config files, exports and source code. There is nothing to install and no sign-up.
Drag a .txt, .md, .csv, .log or code file onto the workspace, or click Choose files. You can also paste text with Ctrl+V.
Your text is laid out on clean A4 pages with real, selectable text. A page count and preview show before you export.
Reorder pages, add page numbers, or drop in more files. Text pages work like any other page in the workspace.
Click Download PDF. The text stays selectable and searchable in any reader, and the file is tiny.
Watch it
Turn a text, log or code file into a clean PDF with real, selectable text, right in your browser. Nothing is uploaded.
Why pdf2kit
Logs, stack traces, config files and source code often hold private details: Keys, hostnames, customer data. They should not sit on someone else's server just to become a PDF. pdf2kit builds the PDF on your own device, with real, selectable text, and nothing is uploaded. It is free, with no account and no watermark.
FAQ
Plain text (.txt), Markdown (.md), CSV and TSV tables, log files (.log), and source code such as .js, .py and .java. The type is read from the content, so a wrong file extension still works.
Real text. You can select it, copy it, and search it in any PDF reader, and it stays sharp at any zoom. Because it is text and not an image, the file is small.
Yes. Long lines wrap so nothing is cut off, and a CSV or TSV header row repeats at the top of every page. Wide logs and code stay readable.
No. The PDF is built in the page on your device. Your log, code or text never leaves your computer.
Latin, Greek, Cyrillic and more come through as real, selectable text. Characters the built-in font cannot draw, such as Chinese, Japanese and emoji, show as boxes, and pdf2kit tells you on import rather than dropping them silently.
More PDF tools