Skip to content

Line Sorter & Deduplicator

Embed

Paste this where you want Line Sorter & Deduplicator on your site. Adjust the height to fit.

<iframe src="https://www.browserutils.dev/embed/line-sorter/" width="100%" height="500" frameborder="0" loading="lazy" title="Line Sorter & Deduplicator"></iframe>
<p style="font-size:12px;margin:4px 0 0"><a href="https://www.browserutils.dev/tools/line-sorter/">Line Sorter & Deduplicator</a> by BrowserUtils</p>

Sort lines alphabetically and remove duplicates.Runs in this tab.

Next step

About Line Sorter & Deduplicator

Free online line sorter. Sort lines alphabetically, numerically, or by length, and optionally remove duplicate lines. It runs in your browser. Nothing is sent to a server.

Questions

How do I remove duplicate lines from text?
Paste your text into the input field and enable the deduplication option. The tool will remove all repeated lines while preserving the first occurrence of each unique line.
Can I sort lines numerically instead of alphabetically?
Yes, the tool supports multiple sort modes including alphabetical, numerical, and by line length. Numerical sorting correctly orders numbers by value so that 10 comes after 9 rather than after 1.
Can I sort lines in reverse order?
Yes, toggle the reverse option to sort lines in descending order. This works with alphabetical, numerical, and length-based sorting modes.
Is the line sorting case-sensitive?
By default, sorting is case-sensitive (uppercase letters sort before lowercase). You can enable case-insensitive sorting to treat "Apple" and "apple" as equal for ordering purposes.

More in Text & String Utilities

All 28 text & string utilities