String Utilities
A toolbox of quick text operations — change case, trim and collapse whitespace, sort, de-duplicate and number lines, reverse, slugify and more. Each button transforms the text instantly.
About the string utilities
A Swiss-army knife for text: reverse, change case, trim whitespace, remove blank or duplicate lines, sort lines, count and replace, add line numbers, repeat and pad — applied instantly to your input. Chain quick operations to clean up messy text without a script.
All transforms run in your browser.
Reverse, sort, dedupe, trim, remove blank lines, add line numbers and more.
Sort alphabetically, remove duplicates, strip empty lines.
Each operation transforms the text and is easy to copy.
Everything happens in your browser.
Frequently asked questions
Does sorting lines remove duplicates?
Sorting and de-duplicating are separate operations, so you can sort while keeping duplicates, or remove duplicates without sorting — or do both.
Will it change my line endings?
Operations work on logical lines; output uses standard newline characters. Trailing whitespace can be removed with the trim operation.
Can I undo an operation?
Operations apply to the current text. Keep a copy of the original if you need to revert, or reload the sample.
Is my text uploaded?
No. All string operations run locally in your browser.