Line tools

Sort A to Z, deduplicate, reverse, shuffle, trim or number a list of lines in one pass, then copy the result without opening a spreadsheet.

Order
Result
The result appears here

Questions

Which duplicate survives?+

The first one written. Duplicates are removed before any sorting, so the survivor is the one that came first in your input rather than whichever happened to sort first.

What does trimming do?+

It removes leading and trailing spaces on each line. Worth leaving on for a pasted list, because two lines that differ only by a trailing space are not duplicates until they are trimmed.

How is the shuffle random?+

Each line takes a random key from crypto.getRandomValues and the list is sorted by it, which gives an unbiased order rather than the skew a naive swap loop produces.

Related tools

The tools are free. So is most of the library.

1935 blocks and 989 pieces for shadcn/ui and Tailwind, built on the same tokens these tools write. Install one with a command and the code is yours.

No signup for the tools. MIT for free blocks, commercial licence for Pro.

Markdown version