About the Sort & Dedupe Lines
Clean up lists of IDs, emails, log lines or package names. Apply operations one after another — remove empty lines, trim, dedupe, sort — and undo any step. Join lines into a comma-separated list for an SQL IN (…) clause, or split a CSV row back into lines.
Features
- Alphabetical, numeric and length sort
- Remove duplicates (optionally case-insensitive)
- Remove empty lines, trim whitespace
- Reverse, shuffle, number lines
- Add prefix/suffix (e.g. quotes)
- Join and split
- Filter lines by substring
- Undo history
How to use it
- Paste your lines.
- Click operations in any order.
- Copy the result.
Frequently asked questions
How do I build an SQL IN list?
Use prefix ' and suffix ', click Add prefix/suffix, then join with , .