String to One Line
Collapse multiline text, tabs, and extra spaces into a single clean line. Special characters are preserved.
Runs in your browser — nothing is uploaded.
How to use this tool
- Paste any text — logs, JSON, or a shell snippet — on the left.
- Newlines, tabs, and repeated spaces collapse to a single space as you type.
- Copy the one-line result for an env var, CI argument, or log search.
Good to know
- Special characters are kept. Only wrapping whitespace is normalized.
- If you still need valid JSON after collapsing, format it first, then compress.
Compression is local. Handy when a ticket or chat box rejects multiline pastes.
Next task