Skip to main content

Sort and Deduplicate Lines

Sort lines A–Z or keep their order and remove exact duplicates in your browser. Case and whitespace matter; pasted text stays local and is limited to 100,000 UTF-16 code units and 2,000 lines.

Matching is exact and case-sensitive; spaces and letter case matter. Empty lines count as lines and can be deduplicated. Sort order compares Unicode code units. Line endings normalize to LF. Text stays in this page and is not uploaded or saved. Limits: 100,000 UTF-16 code units and 2,000 lines.

5 input lines; 3 output lines; 2 duplicates removed.

Was this tool helpful?