Text Case Converter
Type once, get camelCase, snake_case, Title Case, and every other style at once.
Using toolbook means you agree to our Terms and Privacy Policy.
Your files stay on your device
How to use it
Type or paste text in any style and see it in camelCase, snake_case, kebab-case, Title Case, UPPER CASE, and more — all at once, each ready to copy.
Type or paste your text in any style — “user name”, “userName”, “USER_NAME”, it doesn’t matter. Every other style appears below at once, each with its own copy button.
Handy when renaming things between languages that disagree on style: JavaScript likes camelCase, Python and databases like snake_case, web addresses and CSS like kebab-case, and settings files like CONSTANT_CASE.
It even copes with tricky input like “XMLHttpRequest”, splitting it into XML, Http, and Request.
FAQ
What can I type in?
Any style: camelCase, PascalCase, snake_case, kebab-case, dot.case, normal words, or a mix.
Why does it show every style at once?
So you can compare them side by side and pick the one you need.
What happens to numbers?
They stay attached to the word they’re in.
How it worksFor the curious
Input is first split into words. camelCase and PascalCase are split at each lowercase-to-uppercase boundary; runs of capitals are split before the last capital, so “XMLHttpRequest” becomes XML, Http, Request; underscores, hyphens, dots, and spaces all count as separators.
Every output style is a different join rule over that single word list — camelCase lowercases the first word and capitalises the rest with no separator, snake_case lowercases and joins with underscores, and so on — so all outputs agree on word boundaries even for mixed input like “user_id-toCustomerName”.
Numbers stay attached to the word they appear in. Other punctuation is kept inside its word rather than treated as a separator.