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

  1. Paste any text — logs, JSON, or a shell snippet — on the left.
  2. Newlines, tabs, and repeated spaces collapse to a single space as you type.
  3. Copy the one-line result for an env var, CI argument, or log search.

Good to know

Compression is local. Handy when a ticket or chat box rejects multiline pastes.

Next task