String Utilities
Transform text: change case, trim, sort lines, remove duplicates, reverse, count and more.
Input
Output
Ready
Drop a file to load it
About this tool
A set of small text transformations that would otherwise mean opening an editor or writing a one-liner: case conversion, trimming, line sorting, de-duplication, reversal and counting.
When you would use it
- Converting a list of values to snake_case
- Removing duplicate lines from a list
- Counting words, lines or characters
Worked example
userName firstName HTTPResponse
user_name first_name http_response
Things worth knowing
- Case conversions understand word boundaries, so
userNamebecomesuser_namerather thanusername. - Line operations preserve your line endings.
Questions
Frequently asked
Which case styles are supported?
camelCase, PascalCase, snake_case, kebab-case, CONSTANT_CASE, Title Case, sentence case, plus upper and lower.
Is my data uploaded anywhere?
No. Every tool on JSONWorks runs entirely in your browser using JavaScript. Your input is never sent to a server, never logged and never stored. The simplest proof is to disconnect from the internet — the tools keep working. The site does load Google Fonts and a Google Analytics page-view tag, so you will see those two requests in your network tab, but neither receives anything you type or paste.
Related