Back to Tools

Sort Text by Length

Sort Text by Length

Organize lines based on character count

0
0
0
Input Lines

About the Sort Text by Length

Sort lines by how long they are.

How to use the Sort Text by Length

  1. Paste your text into the box, click Sample for an example, or load a text file with File.
  2. Choose Short β†’ Long or Long β†’ Short.
  3. Press Sort by Length.
  4. Use Copy or .TXT to save the result.

Worked example

Sorted short to long, the lines banana, fig, apple become fig, apple, banana.

Tips

  • Turn on Trim lines so leading spaces do not affect the length.

Frequently Asked Questions

The number of characters in each line.
Live Support
We usually reply within minutes

Enter your name to start a conversation with our team.