Skip to content
AldeaCode Logo
Basic text100% local · 0 bytes sent

Add / Remove Line Breaks

Switch between single-line and multi-line text on demand. Remove every line break to get one long line, or split text into chunks of N words per line for clean formatting.

Loading…

How it works

In remove mode all line breaks (\n, \r\n, \r) collapse to a single space. In add mode the text is split by whitespace and re-grouped into chunks of the chosen size.

How to use it

  1. Paste the text

    Drop in a multi-line paste from a PDF, an email, or a single long line. The tool accepts any line ending mix.

  2. Pick add or remove

    Remove collapses every break into a single space. Add splits the text into chunks of N words per line, you choose N.

  3. Pick LF or CRLF

    Unix LF for code and APIs, Windows CRLF for older clipboards or legacy editors. Affects only the join, not the parse.

  4. Copy the reformatted text

    Hit Copy to paste into a CSV cell that hates newlines, a chat box, or a layout that needs a fixed wrapping width.

Use cases

Flatten a paragraph copied from a PDF into a single line.

Reformat 1-word-per-line list into 5 words per line.

Prepare text for a CSV cell that doesn't accept newlines.

Convert prose into a clean wrapping width.

Your data never leaves your browser

Every utility runs entirely on your device. Nothing is uploaded, nothing is stored on a server. You can disconnect from the internet and they keep working.

Frequently asked questions

Related tools