Gliora

Sort list and remove duplicates

Sort list and remove duplicates

This tool sorts a list alphabetically and removes duplicate lines, with optional trimming and empty-line cleanup — all client-side.

Clean up a list in seconds

Paste one item per line, then choose whether to remove duplicates, drop empty lines, trim extra spaces, and sort A→Z, Z→A or leave the order as-is. The result updates live and is ready to copy.

FAQ

How does this tool detect duplicate lines?
It compares lines after trimming (if that option is enabled) and keeps only the first occurrence of each exact match, preserving the rest of the list order unless you also choose to sort it.
Can I sort without removing duplicates?
Yes. Duplicate removal, empty-line removal and trimming are independent options — untick 'Remove duplicates' to sort while keeping every line, including repeats.
Is my list sent anywhere?
No. Sorting and deduplication run entirely in your browser with JavaScript — nothing is uploaded.