Text ops

Sort, deduplicate, reverse, wrap, trim and count lines — the operations you would otherwise pipe through the shell.

Runs in your browser — nothing you type here is sent anywhere.
input
14
lines
12
words
152
chars
152
bytes
14
longest
0.1m
read
no spaces 134sentences 1paragraphs 3avg word 11.17
operation
order
dedupe
clean
format
compare

Drop repeats anywhere in the list, keeping the first of each.

result
web-01.prod
db-02.prod

web-10.prod
web-2.prod
  api-01.prod
cache-3.prod
worker-11.prod
worker-2.prod

14 9 lines · -5

Lines split on CRLF, CR or LF and come back joined with LF, and a trailing newline is treated as a terminator — so a file ending in one keeps it. Sort is code-point order, the way sort in the C locale reads it; natural sort compares digit runs as numbers, so file2 lands before file10 and case only breaks an exact tie. Shuffle is seeded, so the same seed always gives you the same order. Nothing leaves the browser, and anything over 2 MB or 200,000 lines is refused rather than risked.

Cleaning up a pasted list is a chain of small operations: strip blank lines, remove duplicates, sort, maybe wrap. Each is a one-liner in a shell, which is fine unless you are not in one.

The operations chain in order and the result updates as you go, with a running count of lines, words and characters. Sorting handles numbers as numbers, which the naive version gets wrong.

What people open it for

In the terminal

tools textops

Every utility is also a command in the desktop's shell.

More text tools

Open the full desktop, with all 47 utilities