Remove Line Breaks
Join wrapped text copied from a PDF while keeping blank-line paragraphs, or turn one item per line into a comma-separated list.
Your text stays in this page. Usage analytics are enabled. Privacy details.
Enter text to get started.
How to use Remove Line Breaks
- Paste or type your input, or load an example above.
- Adjust the available options. Results update after you finish typing; for very large inputs, select Run.
- Review the result, then copy it or download it to your device.
Input and output examples
Join wrapped lines while keeping paragraphs
Input
A clear idea
fits in one sentence.
Keep this paragraph.Output
A clear idea fits in one sentence.
Keep this paragraph.Turn one item per line into a comma-separated list
Input
tea
coffee
waterOutput
tea, coffee, waterCommon tasks and settings
Rejoin text copied from a PDF
When text copied from a selectable PDF breaks at every printed line, paste it here and choose Within paragraphs with Space. Separate intended paragraphs with a blank line first. This joins wrapped sentences while keeping those boundaries. Leave Collapse repeated spaces on for ordinary prose, then compare the result with the document. A word split as exam- followed by ple will still contain its hyphen. Page headings and captions may also need manual editing.
Turn a column of tags into a list
To move a column of tags into a form that accepts one list, choose Every line break and Custom. Enter a comma and a space as the Custom joiner, then preview before copying. Empty lines are omitted, and spaces at each item edge are trimmed. This is literal text joining: a label containing a comma is not automatically quoted. Choose a separator your destination accepts and that remains unambiguous for your items.
Join a reference code split across lines
For a reference code or checksum copied across several lines, choose Every line break and Nothing to join the pieces directly. Confirm that every line belongs to the same value first. Turning off Collapse repeated spaces avoids changing repeated spaces inside each line, but line edges are still trimmed. Compare the final value with the source, especially where the layout may have inserted hyphens or page numbers. Those characters remain in the output and need separate editing.
How this tool works
LF, CRLF, and CR line endings are normalized. Blank-line runs become one paragraph boundary in paragraph mode. Joined line edges are trimmed; the chosen joiner is inserted literally. Repeated spaces may be collapsed separately.
Input and output stay in the current page. Refreshing or closing the page clears them. For very large inputs, use Run to start processing; a task that takes too long is stopped so you can change the input.
Frequently asked questions
Will blank lines survive?
In paragraph mode, each run of blank lines becomes one blank line. Every-line mode flattens them as well.
Can I join without adding spaces?
Choose Nothing for split identifiers or encoded data, or use a literal custom separator.