FK
FreeAIKit

Sort Text Lines Online

Sort lines alphabetically, numerically, by length, or shuffle randomly. Optionally remove duplicates and empty lines.

Input

Sorted Output

FAQ

What sort orders are available?

Alphabetical (A-Z and Z-A), numeric (ascending and descending), by line length (shortest/longest first), and random shuffle.

Can I remove duplicates while sorting?

Yes. Check 'Remove duplicates' to keep only unique lines in the sorted output.

Is the sort case-sensitive?

By default no. Check 'Case sensitive' to make uppercase letters sort before lowercase.

How does numeric sort work?

Lines are sorted by the first number found in each line. Lines without numbers are treated as zero.

More Developer Tools You May Like