Small text jobs that come up all the time: change case, sort lines, remove duplicates, count words.
Loading the tool...
How to use String Utility
Paste your text.
Click the operation you need.
Copy the result, or use it as input for the next step.
About String Utility
Between bigger tasks, there are always little text chores. Convert a heading to title case. Sort a list of names. Remove the duplicate lines from an export. Turn a phrase into a URL slug or a camelCase variable name. This page collects the ones we find ourselves reaching for.
Paste your text on the left, click a button, and the result appears on the right. If you want to chain steps, use "Use as input" to move the result back into the first box.
Frequently asked questions
What does Count give me?
Characters with and without spaces, words, lines and the size in bytes when the text is stored as UTF-8. The byte count is useful for fields with a size limit.
How is the URL slug made?
Accents are removed, everything is lower-cased, and any run of other characters becomes a single hyphen. "Crème Brûlée & Co" turns into creme-brulee-co.
Is sorting case sensitive?
No, it uses your language's alphabetical order, so Apple and apple sit next to each other.
Is my text stored?
No. Everything happens in your browser and nothing is sent anywhere.