Sort Lines by Length
Sort a list by line length: shortest or longest first, with each line's length and overall stats.
Result
Sort Lines by Length rearranges your lines by their length: shortest to longest, or the other way around. Each line shows its character count next to it, which makes it easy to check titles and descriptions against length limits. Emoji and accented letters count as one character each, just as they appear to a person.
Lines of equal length
By default, lines with the same length keep the order they had in your original text. If you choose alphabetical sorting, they line up in standard alphabetical order, with 9 coming before 10.
Empty lines and duplicates
Two checkboxes remove empty lines and duplicates, and the counter shows how many lines were removed. Leading and trailing spaces can be ignored: with that setting on, " cat" and "cat" count as the same length.
Rate this tool
Help us get better
Tell us what was missing.
Other tools
Cyrillic Transliteration
Converts Cyrillic text to translit, right in the browser.
Character Counter
Characters, words and paragraphs, platform limits and reading time.
Spell Checker
Typos and repeated words with replacement options, in Russian and English.
Create Text File
A text file from what you typed, with a choice of encoding
Text Diff Checker
Differences between two text versions, including the invisible edits
Markdown Editor
Markup on the left, result on the right, notes as a separate list
Case Converter
Every case at once: plain-text cases plus camelCase, snake_case, kebab-case
Reading Time Calculator
Reading time silent and aloud, with pauses, plus a label for the article