BuildUtilities

Line Sorter – Free Online Tool

Sort lines of text alphabetically, numerically, or in reverse order.

apple
banana
cherry
date

Example

Input

cherry
apple
banana

Output

apple
banana
cherry

Lines are sorted in alphabetical order.

How to Use Line Sorter

  1. 1

    Paste Text

    Paste lines of text to sort.

  2. 2

    Choose Sort Order

    Select alphabetical, numerical, or reverse.

  3. 3

    Copy Result

    Copy the sorted output.

Common Use Cases

  • Organizing lists of items
  • Sorting configuration entries
  • Alphabetizing glossary terms

Embed This Tool

Add this tool to your website or blog with a simple iframe embed.

<div style="max-width:480px"><iframe src="https://buildutilities.com/embed/line-sorter?ref=embed" width="480" height="360" frameborder="0" style="border-radius:8px;border:1px solid #2a2e3a;width:100%"></iframe><p style="font:11px sans-serif;color:#888;margin:4px 0 0;text-align:right">Powered by <a href="https://buildutilities.com/line-sorter?ref=embed" target="_blank" rel="noopener">BuildUtilities</a></p></div>

Share

Share a link to this tool. Results can be passed via URL parameters.

https://buildutilities.com/share/line-sorter

More Text Tools

Text processing, counting, comparison, and transformation.

View all Text tools
Tip Jar