Prefix every line with a sequential number, with a configurable start, separator and padding.
Remove Line Breaks
Join every line into one continuous line, trimming each and dropping empty ones.
- Free
- No sign-up
- Runs in your browser
Input
0 characters
Processed entirely in your browser. Nothing is uploaded.
Try an example
Fill in Your text to continue.
Enter your input to see the result
Everything happens on this device. No upload, no account, no network request.
How to use this tool
- 1
Paste your list or document into the box, one item per line.
- 2
The processed text appears below. Use Copy to put it on the clipboard or Download to save it as a .txt file.
Questions about Remove Line Breaks
Why would I need this?
Text copied out of a PDF or a fixed-width email arrives with a hard line break at the end of every visual line. Joining it back into continuous paragraphs makes it reflow properly when pasted anywhere else.
Is my text uploaded anywhere?
No. This tool runs as JavaScript inside your browser tab. There is no network request carrying your text, nothing is written to a server log, and the tool keeps working with your connection switched off. You can confirm it yourself in the browser’s network panel.
Does the Remove Line Breaks work offline?
Yes. Once the page has loaded it runs entirely as JavaScript on your own device, so the Remove Line Breaks keeps working with the network switched off and nothing is ever sent to a server.
Is anything I enter into the Remove Line Breaks uploaded or stored?
No. The Remove Line Breaks runs in your browser, so whatever you type or paste never leaves your device — there is no server round-trip, nothing is logged, and there is nothing to delete afterwards.
Can I use the Remove Line Breaks on a phone or tablet?
Yes. The page is responsive, so the Remove Line Breaks works the same in a mobile browser as on a desktop, and there is no app to install.
Related tools
Other tools you might reach for next.
Strip leading line numbers in the 1. / 1) / 1 - / 1: styles, leaving the content.
Remove leading and trailing whitespace from each line or from the whole text.
Collapse runs of spaces and tabs into a single space while preserving line structure.
Count words, characters, sentences, paragraphs and UTF-8 size, with all three definitions of "character" reported separately.
Count characters three ways - UTF-16 code units, Unicode code points and visible grapheme clusters - plus the UTF-8 byte size.
Count sentences using Unicode sentence segmentation, which handles abbreviations better than splitting on full stops.
Count paragraphs, treating one or more blank lines as the separator, plus words, sentences and lines.