Sort Lines

Sort lines of text alphabetically, numerically, or in reverse order with case-sensitive options

How to Use This Tool

1

Paste your text into the input area — each line is treated as one item.

2

Choose your sort order: A–Z, Z–A, shortest first, or longest first.

3

Toggle case-sensitive sorting if needed.

4

View the sorted output instantly and click "Copy" to copy it.

About This Tool

Sort Lines arranges text lines in alphabetical, reverse alphabetical, or length-based order. Supports case-sensitive and case-insensitive sorting. Useful for organizing lists, cleaning up data, sorting imports in code, and alphabetizing any text content. Results update in real time as you adjust settings.

Share This Tool

Twitter

Related Tools

Back to Text Tools