Remove line breaks from text
Turn a multi-line text into a single continuous paragraph, joining lines with a space and removing stray line breaks.
Processed on your device. Nothing is sent to any server.
Replaces every line break with a space and collapses any resulting multiple spaces, leaving a single clean paragraph.
Use cases
- Joining text copied from a PDF that artificially breaks lines.
- Preparing a paragraph to paste into a single-line text field.
- Cleaning text before a keyword analysis.
How it works
- 1
Paste your text
Type or paste the text with line breaks on the left.
- 2
Copy the result
The unified paragraph appears automatically on the right.
Technical details
- Besides line breaks, it reduces any run of spaces or tabs to one and trims spaces at the start and end.
- Blank lines between paragraphs disappear too: the whole text becomes a single paragraph.
- It works the same with Windows (CRLF) and macOS/Linux (LF) line breaks.
Frequently asked questions
What separator does it use between lines?
A single space, and any resulting duplicate spaces are then removed.
Are words hyphenated at the end of a line joined back?
No. If the original split "informa-" and "tion" across two lines, you'll get "informa- tion". Check those cases by hand afterward.