Skip to content
MyToolkit.pro

Text analysis

Sort lines

Sort a list of lines alphabetically, by number, in natural order (file2 before file10) or by length. Reverse the order, ignore case and drop duplicates. Your text stays in this browser.

Private by design: no text is uploaded or stored.

Private by design: no text is uploaded or stored.

Result — options

Try an example

Result

Updates when you sort or change an option.

Lines
0

Which sort order should I use?

Alphabetical compares text character by character. Numeric reads each line as a number (non-numbers go to the end). Natural keeps digit groups in human order, so item2 comes before item10. Line length sorts shortest to longest. Combine any mode with reverse order, ignore case, and remove duplicate lines. Sorting only reorders your lines — nothing is lost or added unless you remove duplicates.

All in Text & Lists

List randomizer

Shuffle the order of any list randomly with an unbiased Fisher-Yates shuffle. Works entirely in your browser.

Text & Lists In your browser

Lines, words & characters counter

Count lines, words, Unicode characters, UTF-8 bytes, paragraphs and reading time locally in your browser.

Text & Lists In your browser

Duplicate line remover

Remove duplicate lines from any list, with optional case-insensitive and whitespace-trimmed matching. Works entirely in your browser.

Text & Lists In your browser

Random Picker

Pick one or more random items from a list, with or without replacement. Private, fair selection entirely in your browser.

Text & Lists In your browser

Remove empty lines

Remove empty and blank lines from any text, or collapse runs of blank lines into one. Trim whitespace and keep everything in your browser.

Text & Lists In your browser

Join lines

Join multiple lines into one line with a space, comma, semicolon, pipe or no separator. Trim lines and skip blanks. Works entirely in your browser.

Text & Lists In your browser

What do you need?

Swipe up for the next one