Text Utilities
Sort, deduplicate, shuffle, reverse, trim, and number lines. All operations update instantly.
Input Text box, one item per line — the line count below updates as you type.Sort A→Z, Sort Z→A, Deduplicate, Shuffle, Reverse, Trim, Remove Empty, or Number Lines.Result box, with its line count shown underneath.Case-sensitive sort if sorting should distinguish uppercase from lowercase.Copy Result to copy the output to your clipboard, or Clear to reset and start over.Alphabetize usernames, keywords, import lines, or log entries in one click — ascending or descending.
Strip repeated lines from logs, mailing lists, or search results, keeping only the first occurrence of each.
Randomize test data, giveaway winners, or question order using a Fisher-Yates shuffle.
Trim leading and trailing whitespace and remove blank lines before pasting into scripts, spreadsheets, or config files.
Add zero-padded line numbers to configs and snippets for easy reference in code review.
Everything runs in your browser. Nothing is uploaded, logged, or sent to a server.
It processes lines of text with eight operations: sort ascending or descending, deduplicate, shuffle, reverse order, trim whitespace, remove empty lines, and number lines.
Operations chain. Each button rewrites the current lines, so just click them one after another — for example, Trim then Remove Empty then Sort A→Z.
Yes. Deduplication matches exact strings, so Apple and apple are treated as different, and a trailing space also makes lines differ. Run Trim first if you want to normalize before deduplicating.
Sorting is case-insensitive by default, comparing lowercased values. Tick Case-sensitive sort to sort by exact character codes instead.
There is no undo button. Reverse restores original order after a sort or reverse, but a shuffle cannot be un-shuffled — keep a copy of your input if you might need it.
Remove Empty drops any line that is blank or contains only whitespace (spaces or tabs). Lines with visible text are kept.
Never. All operations run locally in JavaScript, and your text is not sent to, stored on, or logged by any server.