godz.online
Back to tools

Developer tools

Case converter

Type or paste text and see it in every common case. Everything runs in your browser - nothing is uploaded.

camelCase
PascalCase
snake_case
kebab-case
CONSTANT_CASE
Title Case
Sentence case
lower case
UPPER CASE

How it works

Type or paste text and see it instantly rewritten in every common programming and writing case: camelCase, PascalCase, snake_case, kebab-case, CONSTANT_CASE, Title Case, Sentence case, lowercase, and UPPERCASE. Each result has its own copy button, so you can grab exactly the style your code, config, or document needs without retyping.

The tool works by first splitting your input into words. It understands the boundaries in existing camelCase and PascalCase names, as well as spaces, hyphens, and underscores, so "getUserID", "get_user_id", and "get user id" all break into the same words and reflow cleanly into any target case. Everything runs in your browser, so nothing you paste is uploaded.

Example. Paste "user profile URL" and you get userProfileUrl, UserProfileUrl, user_profile_url, user-profile-url, USER_PROFILE_URL, User Profile Url, and User profile url. Paste an existing name like "XMLHttpRequest" and it splits correctly into the words before reformatting.

FAQ

Which cases are supported?

camelCase, PascalCase (also called upper camel case), snake_case, kebab-case (dash-case), CONSTANT_CASE (upper snake case), Title Case, Sentence case, lowercase, and UPPERCASE. All of them are produced at once from a single input, each with a copy button.

How does it split words from my input?

It treats spaces, hyphens, and underscores as separators, and also detects camel humps, so a lowercase-to-uppercase transition starts a new word. Sequences of capitals are handled too, so "XMLHttpRequest" splits into XML, Http, Request. The detected words are then joined according to each target case.

What is the difference between camelCase and PascalCase?

Both join words without separators, but camelCase keeps the first word lowercase (myVariableName) while PascalCase capitalises every word including the first (MyVariableName). camelCase is common for variables and functions in many languages; PascalCase is common for class and type names.

Is anything uploaded?

No. The conversion runs entirely in your browser as plain string manipulation. Nothing you type is sent to a server, logged, or stored.