Line Tools — Dedupe, Sort & Clean
Fix messy lists in one click: remove duplicates, sort alphabetically or by length, reverse, shuffle, strip empty lines and stray spaces.
See it in action
Merged lists, keyword sets, email lists — cleaned in one click, order preserved. Made with this tool.
Limits
How to use it
Put the text you want to work on into the input box. It stays in this tab — nothing is sent anywhere.
Dedupe is the classic: paste the merged list, get each line once, original order kept. Ignore-case dedupe also treats 'Apple' and 'apple ' as the same line.
Click the run button and the result appears in the output box below, ready to copy or save.
Copy the result with one click, or download it as a plain text file for later.
About this tool
Lists rot quietly: the email list merged from three sources with everyone twice, the keyword list with the same term in three capitalizations, the inventory pasted from two sheets. Cleaning them by hand in a text editor is where afternoons go. These line tools do the mechanical operations exactly — dedupe (exact or forgiving), sorting three ways, reversing, shuffling, empty-line removal, trimming, numbering — on lists of any realistic size, instantly, in your browser, where a customer list being cleaned has no business leaving.
Everything runs locally in your browser. Your text is processed with JavaScript in this tab only — it is never uploaded, logged or stored, so you can safely use it on drafts, client copy, code snippets and data you would not paste into a stranger's server. There is no sign-up, no daily limit and no paywall counter ticking down: run it as many times as you need, on any device.
Frequently asked questions
Why are there still duplicates after deduping?
Because the lines differ invisibly: trailing spaces, different capitalization, or a stray character. Use the ignore-case dedupe, or run trim first and then exact dedupe. If duplicates persist, they are genuinely different lines — compare them character by character and the difference will show itself.
Does dedupe keep the original order?
Yes — the first occurrence of each line stays in its place and later copies are dropped, so a deduped list reads exactly like the original with the repeats removed. Sorting operations, of course, deliberately change the order instead.
Is this tool free to use?
Yes — free, with no sign-up and no daily limit. Your text is processed in your browser, so there is no server cost and nothing to meter.
Is my text sent to a server?
No. Everything happens with JavaScript inside this browser tab. Your text is never uploaded, logged or stored — paste drafts, client copy or data freely.
How much text can I paste?
Plenty — everyday documents, articles and data files are fine. Extremely large pastes (many megabytes) depend on your device's memory, and the browser may slow down while it works.
Does it work on my phone?
Yes, in any modern mobile browser. For very long texts a bigger screen is more comfortable, but the processing itself works the same everywhere.
Related tools
Want more free tools?
Free tools that all run locally in your browser — no uploads, no fees.
Browse all toolsOr own them all: the self-host pack — $9.99