Sort lines of text A–Z with locale-aware ordering, dropping empty lines.
Sort Lines
Sorted lines (A→Z)
Result will appear here…Can it sort numbers correctly?
Sorting is alphabetical (locale-aware), so “10” comes before “2”. Pad numbers with leading zeros if you need them in numeric order.
Can I remove duplicates while sorting?
Not in one pass — sort here, then paste the result into Remove Duplicate Lines.
Looking for something else? Browse all Text tools or every category.