Remove Line Breaks
Turn text that is chopped into short lines back into flowing paragraphs.
INPUT
CHARS: 0WORDS: 0LINES: 0
OUTPUT
CHARS: 0WORDS: 0LINES: 0
How the Remove Line Breaks works
Text copied from PDFs, emails and terminals often has a hard line break at the end of every visual line. This tool replaces those breaks with a space, with nothing, or with a separator of your choice.
Keep paragraph breaks mode treats blank lines as real paragraph boundaries and only joins the lines inside each paragraph. The hyphen option rejoins words that were split across two lines, such as exam- ple, back into one word.
Remove Line Breaks examples
Fix awkward line wraps from copied PDF text
Input
This paragraph was copied from a narrow PDF column and had awkward line breaks.
Result
This paragraph was copied from a narrow PDF column and had awkward line breaks.
When it is useful
- •Cleaning text copied from a PDF before pasting it into an email or document.
- •Converting a list into a single comma separated line.
- •Preparing a paragraph for a form field that does not accept line breaks.
- •Fixing subtitle or poem text that was wrapped at a fixed width.
Frequently Asked Questions
How do I turn a list into one line?
Turn off keep paragraph breaks and choose comma and space as the replacement. For more list options, use the List Converter.
Will it merge two paragraphs into one?
Not if keep paragraph breaks is on. A blank line between blocks of text is kept as a paragraph break.
What about Windows and Mac line endings?
All kinds of line ending are recognized, including the carriage return plus line feed pair used by Windows.
Guides that use this tool
Related tools
- Whitespace RemoverChoose which kinds of whitespace to clean up and see the tidy result.
- Remove Text FormattingReduce styled, marked up or decorated text to plain words.
- Plain Text ConverterNormalize text copied from Word, web pages and chat apps into simple characters that work everywhere.
- Duplicate Line RemoverPaste a list and keep each line once, in the order it first appeared.
- Find and Replace TextPaste text, enter what to find and what to put in its place, and see the result immediately.