Remove line breaks
How do I use a remove line breaks? Joins lines of text into one line, for text copied from a PDF or an email.
| What it does | Joins lines of text into one line, for text copied from a PDF or an email. |
|---|---|
| Exact rule | Each line is trimmed, blank lines are dropped and the lines are joined with a single space (or nothing, if you choose). |
| Example text | First line ⏎ second line ⏎ ⏎ third line |
| Example result | First line second line third line |
| Limits | A hyphen at the end of a line stays: words split across lines in a PDF are not repaired. |
| Where it runs | In your browser: your text is never uploaded, stored or logged. |
All tools in Clean up and compare text
How to use the remove line breaks
- Paste the text.
- Choose whether to join lines with a space or with nothing.
- Copy the single line.
How it works
Each line is trimmed, blank lines are dropped and the lines are joined with a single space (or nothing, if you choose).
A hyphen at the end of a line stays: words split across lines in a PDF are not repaired.