Remove Line Breaks
Remove or replace line breaks from text. Replace with space, comma or any other character. Instant result.
What are line breaks?
Every time you hit Enter, an invisible character slips into the text. On Unix, Linux and Mac that character is \n (LF), while Windows uses the pair \r\n (CRLF). The tool handles both formats.
None of this leaves your browser. The removal runs right there, on your own machine.
Remove or replace line breaks
Text copied from a PDF or an email almost always shows up with line breaks in the middle of sentences, which gets in the way of both reading and pasting. This tool removes or replaces those breaks, leaving the text in a continuous flow or in whatever format you need.
You can swap the breaks for a space, joining everything into one paragraph, for a comma, which turns the lines into a separated list, or for any other character. It helps clean up pasted text, collapse a list into a single line, or prepare data for that field that won't take multiple lines.
The text never leaves the browser. Paste the content, decide what to do with the breaks, and copy the result.
Related Tools
Add Prefix and Suffix
Add a prefix and/or suffix to every line of a text list. Useful for generating SQLs, formatted lists, batch commands.
Trim Lines
Remove leading and trailing spaces and tabs from each line of text. Useful for cleaning code or copied data.
Add Text to Each Line
Add a prefix, suffix or both to each line of a text. Useful for bulk formatting of lists and data.