New Line Remover
Remove line breaks and tabs, or swap them for any separator.
Input
Single-line output
About the New Line Remover
Flatten multi-line text into a single line in one click. Choose whether line breaks disappear, become spaces, become a custom separator such as a comma, or turn into literal \n sequences for code and JSON. Tabs can be removed or replaced too, CRLF endings are normalised, and options let you trim lines, drop empty ones and collapse double spaces.
Examples
Join to one line
one
two
threeOutput
one two threeComma separated
one
twoOutput
one, twoKeyboard shortcuts
- Copy the main outputCtrl / ⌘ + Shift + C
- Download the resultCtrl / ⌘ + S
- Share this toolCtrl / ⌘ + Shift + S
- Reset the inputsAlt + R
- Open the tool search paletteCtrl / ⌘ + K
Related tools
Lines to String Converter
Text & String
Turn newline-separated lines into a quoted, comma-joined string.
Email & URL Extractor
Text & String
Pull emails, links, domains and phone numbers out of any text.
Line Numbering Tool
Text & String
Add or remove line numbers from text with custom formatting.
List Comparator
Text & String
Compare two lists and see common, A-only and B-only items.
List Randomizer
Text & String
Shuffle a list of lines and optionally pick a random subset.
Online Notepad
Text & String
A distraction-free notepad with multiple notes that auto-save in your browser.
Frequently asked questions
Version 1.0.0 · Updated 2026-08-25 · Runs entirely in your browser