01 / Keep
Code, logs, poems
Every line stays a line, with its spaces and indents. Long lines wrap onto the next line.
Free tool
Paste text or open one or more .txt files and get a clean PDF. Pick a regular or a typewriter-style font, the text size, line spacing and margins. Keep every line break as it is, for code, logs and poems, or join lines into paragraphs for text that was wrapped. Several files go into one PDF, each starting on a new page.
Text
Page
Your text is turned into a PDF in your browser. It is never uploaded.
Which setting
01 / Keep
Every line stays a line, with its spaces and indents. Long lines wrap onto the next line.
02 / Join
Text copied from email or a PDF breaks every line. Joining makes flowing paragraphs, split at blank lines.
03 / Mono
The typewriter font gives every letter the same width, so tables made of spaces stay straight.
Questions
Yes. The text is written as real text with embedded fonts, not as a picture.
Yes. Choose or drop them together and they become one PDF, each file starting on a new page, in the order the browser lists them.
The regular font covers Latin, Greek and Cyrillic, and the typewriter font Latin and Cyrillic. Letters outside these, and emoji, show as "?", and the page tells you when that happens.
Plain text has no styles. Write # before a heading and **two stars** around bold words, then use Markdown to PDF.
Text files up to 20 MB each. Very long files take longer: in our test, 15,000 lines made 556 pages in about 12 seconds.