Sort & Dedupe Lines

Sort, reverse, or deduplicate lines of text instantly in your browser — nothing is uploaded.

Output


Sort and deduplicate lines of text online

Paste any block of text and the lines are reordered the moment you type — no button to press, no upload. Choose ascending or descending alphabetical order, or simply reverse the current sequence. Enable Numeric sort to order numbers by value rather than character code, so 10 sorts after 2. Everything runs locally in your browser, so even sensitive data never leaves your machine.

Use Remove duplicates to keep only the first occurrence of each line, with an optional case-insensitive match. Trim whitespace strips leading and trailing spaces before comparing or sorting, and Remove blank lines discards empty entries entirely — useful when cleaning up copy-pasted lists.

FAQ

Is my data sent anywhere? No. All processing happens client-side in your browser.

What does Reverse do? It flips the current line order without sorting — useful when your input is already ordered and you just need it upside down.

Does dedupe respect case? By default duplicates are matched exactly. Enable Case-insensitive to treat "Apple" and "apple" as the same line.

Related tools

Popular tools