How it works
This tool joins up text that breaks in the wrong places. It can remove line breaks yet keep your paragraphs. It finds all 8 kinds of line break that Unicode defines. A word split by a hyphen still needs your eye.
Read the full guide
Paste, pick a replacement, copy
The box opens on a sample, so press Clear, then paste. The result fills the Clean text box as you go. Keep paragraphs starts on: a blank line stays one blank line, and every single break inside a paragraph goes. Then choose what replaces each break: a space, nothing, a comma and a space, or up to ten characters typed into Your own. Press Copy the clean text to take the result. The counter under the clean text names what it removed, such as 10 LF and 2 CR.
Match the settings to where the text is going
Text copied from an email or a PDF is usually hard wrapped: every line you saw ends in a real break. For prose, keep paragraphs and replace with a space. For a column of names that must become one line, switch Keep paragraphs off and use a comma and a space.
Hyphens, saved settings and the next step
Rejoin hyphenated words starts off. Switched on, it joins a word split at a line end, so nor- mal becomes normal. It cannot tell a split word from a real compound, so well-known at a line end becomes wellknown. Your settings stay in this browser, never the text you pasted. Share these settings makes a link to them: a computer copies it, a phone opens its share sheet. If the capitals are wrong too, the case converter is the next stop.
Tips
- A break survived another cleaner? Paste here and look for Line tabulation (VT) in the counter. Show breaks draws where it sat.
- A poem, a lyric or a postal address needs its breaks. To fit an address on one line, use a comma and a space.
- In a spreadsheet, the usual formula swaps character 10, Line feed (LF), for a space. Carriage return (CR) is character 13 and needs another pass.
Questions and answers
How does it remove line breaks and keep the paragraphs?
It sorts every break into two piles. A single break sits inside a paragraph, so it is replaced. Two or more in a row mark a new paragraph and become one blank line. A Paragraph separator (PS) is always a paragraph break.
Why is a line break sometimes two characters?
Blame the teleprinter. A carriage return sent the print head back to the first column, and a line feed rolled the paper up one line. Windows kept both characters, Unix kept only the line feed, and the classic Mac kept only the return.
Why did removing the breaks glue two words together?
The replacement was probably set to Nothing. A hard-wrapped line usually ends without a space, because the break was doing that job. Press A space and the words stay apart.
Can I put the line breaks back afterwards?
No. Once a break has become a space, nothing in the text records where it was. The pasted text stays in the Your text box while you work, and changing a setting reruns the job from that original.
What are the 8 kinds of line break?
The Unicode Standard lists eight newline functions: Line feed, Carriage return, the two together, Next line, Line tabulation, Form feed, Line separator and Paragraph separator. The first three are the everyday ones, and the other five are what simple cleaners miss.