Explosion Tools

Sort Lines

Sort lines of text alphabetically, numerically, or by length. Gratis, sin registro, funciona en tu navegador.

Arrastra y suelta tu imagen aquí, o elige un archivo

PNG, JPG, WEBP, GIF, BMP — hasta 25MB

Tus imágenes se procesan íntegramente en tu navegador. No se sube nada a ningún servidor.

Acerca de Sort Lines

This tool sorts lines of text in various ways: alphabetically (A–Z or Z–A), by line length (shortest or longest first), numerically (parsing leading numbers), reverse order, or random shuffle. Options include trimming whitespace from each line and removing empty lines before sorting. Useful for organizing lists, sorting names or URLs, ordering log entries, randomizing quiz questions, and cleaning up any line-separated data.

Preguntas frecuentes

How does numeric sort work?
Numeric sort parses the leading number from each line and sorts by that value. Lines like '42 apples', '7 oranges', and '100 bananas' will be sorted as 7, 42, 100. Lines without numbers are treated as 0.
What is the difference between Reverse and Z→A?
Z→A sorts lines alphabetically in descending order. Reverse simply flips the lines to the opposite order without any sorting — the last line becomes the first, and the first becomes the last.
Can I sort and remove duplicates at the same time?
This tool focuses on sorting. To remove duplicates, use the Duplicate Line Remover tool first, then paste the result here to sort. Both tools work together as a pipeline for cleaning up lists.

Herramientas relacionadas