Text transform and cleanup
The small text jobs that are tedious by hand: flipping case, sorting a list, removing repeated lines, trimming stray whitespace, and counting words, characters, lines and bytes before you paste into something with a limit.
Every transform operates line by line, so sort and dedupe behave predictably on lists. The counts update as you type and are computed on UTF-8, which matters whenever the text is not plain ASCII.
Runs entirely in this tab. Nothing you paste is uploaded, logged or stored — close the page and it is gone.
Questions about this tool
What counts as a word?
Any run of non-whitespace characters separated by whitespace. It is a simple and predictable rule, which makes the count stable even though it will differ slightly from a word processor that treats punctuation as part of a word.
Why is the character count different from the byte count?
Characters outside ASCII take more than one byte in UTF-8. Byte count is what matters for API limits and database columns; character count is what matters for a human reading it.
Does sorting handle numbers sensibly?
Alphabetical sorting is offered as well as numeric, so a list of 2, 10 and 100 comes out in the order you expect rather than 10, 100, 2.
AI alternatives from the directory
Browse coding tools →This utility handles the job by hand. These do it with a model — worth a look when the task outgrows copy and paste.
Free AI autocomplete for every language
A fast, free completion and chat tool that plugs into 40+ editors with strong privacy options.
Anthropic's terminal agent that edits whole repos
Claude Code runs in your shell, reads the repository, plans a change and applies multi-file edits with tests.