Text tool
Case Converter
Every casing at once: camel, snake, kebab, and friends.
Your text
UPPERCASE
CONVERT MY TEXT CASE
lowercase
convert my text case
Title Case
Convert My Text Case
Sentence case
Convert my text case
camelCase
convertMyTextCase
PascalCase
ConvertMyTextCase
snake_case
convert_my_text_case
kebab-case
convert-my-text-case
CONSTANT_CASE
CONVERT_MY_TEXT_CASE
aLtErNaTiNg
cOnVeRt My TeXt CaSe
InVeRsE cAsE
CONVERT MY TEXT CASE
How it works
This case converter splits your input on spaces, underscores, hyphens, and existing camelCase word boundaries, then rebuilds it in eleven casings at once — camelCase, PascalCase, snake_case, kebab-case, CONSTANT_CASE, Title Case, Sentence case, and more. Because it detects boundaries rather than just changing letter case, pasting already-formatted text like myUserName still converts correctly to every other style.
When you'd use this
- Renaming a variable across coding conventions: converting a JavaScript camelCase variable to the snake_case a Python API or database column needs, without retyping it by hand.
- Formatting a URL slug or CSS class name: turning a page title into clean kebab-case for a URL or class name in one paste instead of manually swapping spaces for hyphens.
- Cleaning up inconsistent capitalization: converting a heading typed in the wrong case, or pasted from somewhere with ALL CAPS or random capitalization, into proper Title Case or Sentence case.
Frequently asked questions
What's the difference between camelCase and PascalCase?
camelCase starts lowercase (myVariableName); PascalCase capitalizes the first word too (MyClassName). Convention: camelCase for variables and functions, PascalCase for classes and components.
When should I use snake_case vs kebab-case?
snake_case for code where hyphens would be read as minus signs — Python variables, database columns. kebab-case for URLs, file names, and CSS classes, where hyphens are standard and search engines treat them as word separators.
Does the converter handle text that's already camelCase?
Yes — it detects lowercase-to-uppercase boundaries, so pasting 'myUserName' correctly splits into 'my user name' before converting to any other casing.
What is Title Case exactly?
This tool capitalizes every word — the simple style. Formal editorial title case (AP, Chicago) also lowercases short words like 'of' and 'the'; check your style guide for published headlines.
From the blog
Related tools
