REMOVE LINE BREAKS

Paste multiline text and join it into a single block. Nothing leaves your browser.

Lines joined: 6Before: 93 charsAfter: 92 chars

How to remove line breaks

  1. 1

    Paste or type your text into the input box.

  2. 2

    Choose whether lines should be joined with a space or with nothing, and whether to collapse extra spaces afterward.

  3. 3

    Copy the joined result from the output box — it updates live as you type or change options.

Questions

What counts as a line break?
The tool splits on any combination of carriage return and line feed characters (\r\n, \r, or \n), so it handles text pasted from Windows, macOS, and Linux sources consistently.
Should I join with a space or with nothing?
Use a space when the lines are pieces of a sentence or paragraph that got wrapped (like text copied from a PDF), so words don't run together. Use nothing when the lines are already complete fragments that should sit right next to each other, such as parts of a code string or ID.
What does collapsing extra spaces do?
After joining, leftover indentation or double spaces from the original lines can leave gaps in the result. Turning on "Also collapse multiple spaces" reduces any run of spaces or tabs to a single space and trims the ends.
Is my text uploaded anywhere?
No. Everything runs locally in your browser with JavaScript — your text is never sent to a server.