text utility
Sort & Dedupe Lines
Sort, deduplicate, trim or remove empty lines from a text list locally.
Sort or dedupe lines
Sort, deduplicate, trim or remove empty lines from a text list locally.
Cleaned lines
- Input
- —
- Output
- —
How it works
A bounded line-list cleaner. Choose ascending or descending sort, case sensitivity, deduplication and blank-line handling. The original line order is not changed in place.
Limits
- Sorting is lexicographic by Unicode code unit unless case-insensitive is selected.
- Duplicate detection uses the exact line after optional trimming.
- Very large lists are bounded by the local text limit.
Questions
Is sorting case-sensitive?
You can choose case-sensitive or case-insensitive ordering. Ties keep a stable order where the browser supports it.
Does deduplication keep the first occurrence?
Yes. The first occurrence is kept in the current order before the optional sort, and trim/empty-line options are applied first.
Privacy
Approved improvement measurement records coarse event counts only: page ready, task started, completed, export requested and a generic failure class. It never records filenames, file contents, text, output, full URLs or a visitor ID. You can turn measurement off for this hostname below.