Category: Text tools
Line Break Converter
Convert line endings, or turn lines into a delimited list and back
Convert between LF, CRLF and CR line endings, turn lines into a comma, semicolon or pipe separated list, or split a delimited value back into lines. Runs entirely in your browser.
First line Second line Third line Fourth line
Everything on this page is processed in your browser. Nothing is uploaded.
Everything on this page is processed in your browser. Nothing is uploaded.
What this tool does
Text files from different operating systems use different line endings: Unix and modern tools expect LF, Windows text files use CRLF, and old Mac files used CR. This tool normalizes between the three, and separately can turn one item per line into a single delimited line (for pasting into code or a spreadsheet cell) or split a comma, semicolon or pipe separated value back into one item per line, with optional trimming and removal of empty items.
How to use it
- Paste your text.
- Choose a mode: convert line endings, turn lines into a delimited list, or split a delimited value into lines.
- Pick the target line ending or delimiter, then copy or download the result.
Privacy
This tool runs entirely in your browser. Your input is never uploaded, stored or shared — closing the tab removes it.
Frequently asked questions
- What is the difference between LF, CRLF and CR?
- LF (\n) is the line ending used by Linux, macOS and most developer tools. CRLF (\r\n) is the Windows standard. CR (\r) alone was used by classic Mac OS and is rare today.
- Does trimming affect blank lines differently from removing empty items?
- Trim removes leading and trailing whitespace from each line or item; remove empty items then drops anything that is blank after trimming, so a line of only spaces is removed too.
- Can I convert a comma-separated value back into one item per line?
- Yes. Switch the mode to delimited-to-lines, pick the delimiter that matches your input, and each item becomes its own line.