Sort lines and remove duplicates
Sort lines A to Z, remove duplicate or empty lines, reverse, shuffle or number them.
Sort lines and remove duplicates – free and online
Sort lines of text online for free. Paste a list, then sort it A to Z or Z to A, remove duplicate or empty lines, reverse or shuffle it, trim spaces or add line numbers. It handles names, emails, keywords and any other list, and nothing leaves your browser.
How to use Sort lines and remove duplicates
- Paste or type your list, one item per line.
- Set the options: ignore case, and sort numbers by value.
- Press an action such as Sort A→Z or Remove duplicates, then copy the result.
Frequently asked questions
Is Sort lines and remove duplicates really free?
Yes. Sort lines and remove duplicates is free to use, with or without an account. There is nothing to pay, no trial period and no watermark on your files.
How are duplicate lines detected?
Lines count as duplicates when their text is identical. Tick "Ignore upper and lower case" to treat Apple and apple as the same line. The first occurrence is kept.
Why would I sort numbers by value?
Normal alphabetical order puts 10 before 2. Sorting numbers by value puts 2 before 10, which is what you want for numbered lists.
Are my files uploaded to a server?
No. Sort lines and remove duplicates runs inside your browser, so your files and text stay on your device.