Ad placeholder

Line Sorter

Sort lines quickly and optionally remove duplicates. Everything runs locally in your browser.

About this line sorter

Sort lines A–Z or Z–A to organize lists, CSV-style columns, keywords, or simple datasets. You can also remove duplicate lines and choose whether to keep empty rows.

This tool runs in your browser. Your text is processed on your device and is not uploaded by this tool.

FAQ

Does it sort numbers correctly?

It sorts lines as text. For numeric sorting, pad numbers (e.g., 001, 010, 100) or sort in a spreadsheet.

What does “Remove duplicates” do?

It keeps only the first occurrence of each line and removes repeated lines to produce a unique list.

Why keep empty lines?

Keeping empty lines can preserve visual grouping. Disable it to compact your list.

Is sorting case-sensitive?

Sorting is designed for everyday use. If you need strict locale-specific ordering, consider exporting to a spreadsheet.

Is my text stored anywhere?

No. Everything runs locally in your browser and nothing is uploaded by this tool.

More text tools

Ad placeholder