Sort & Deduplicate Lines
Sort lines alphabetically, by length, or numerically. Remove duplicates and blank lines instantly.
Sort lines alphabetically, by length, or numerically. Remove duplicates, blank lines, and trim whitespace - all with a single set of toggles and live output.
When to use it
- 1Cleaning up a copy-pasted list of items.
- 2De-duplicating an exported CSV column.
- 3Producing a stable, sorted version of a config or wordlist.
How it works
- 1
Paste a list
One item per line. Stats below show input vs output line counts.
- 2
Pick sort and dedupe options
Sort method, case-sensitive toggle, dedupe toggle, blank-line removal, whitespace trim, reverse.
- 3
Copy or download
Result updates live. Copy or download as .txt.
Frequently asked
How are numbers sorted?
Numeric sort treats the start of each line as a number; non-numeric leading text falls back to string sort. Mixed lists may surprise you - test with a sample first.
Want a tool just like this, but yours?
Every tool on this page was generated by GenMB from a single prompt. Describe yours and ship it to your own subdomain in minutes.
Build with GenMBRelated tools
Word & Character Counter
Count words, characters, sentences, paragraphs, and reading time. Save documents when signed in.
Text Case Converter
Convert text between UPPERCASE, lowercase, Title Case, camelCase, snake_case, kebab-case, and more.
Text Diff Checker
Compare two texts side-by-side with line and word diff. Save comparisons to revisit later.
JSON Formatter & Validator
Format, validate, and minify JSON with line-precise errors and a tree view. Save scratchpads when signed in.