LOCAL TEXT TOOL · VERIFIED LOCAL TOOL
Sort lines by length
Order lines shortest-to-longest by visible grapheme count.
LOCAL PROCESSING · No upload or network lookup · Maximum input 1 MB
Input
Result
Loading local tool…
All text conversion happens in this browser tab. You decide whether to copy or download the result. Outputs are not saved on CraftAI servers.
Sort lines based on visible character count
Arrange a list by the number of user-visible grapheme clusters in each line.
Why does an emoji count differently from text bytes?
Some displayed characters consist of multiple Unicode code points; the sorter uses visible grapheme counts.
Related tools: sort text lines · measure text line lengths