Text Case Converter
Convert text between 12 different cases. Handles camelCase, PascalCase, snake_case, and more.
lower case
the quick brown fox jumps over the lazy dog
Title Case
The Quick Brown Fox Jumps Over The Lazy Dog
Sentence case
The quick brown fox jumps over the lazy dog
camelCase
theQuickBrownFoxJumpsOverTheLazyDog
PascalCase
TheQuickBrownFoxJumpsOverTheLazyDog
snake_case
the_quick_brown_fox_jumps_over_the_lazy_dog
kebab-case
the-quick-brown-fox-jumps-over-the-lazy-dog
CONSTANT_CASE
THE_QUICK_BROWN_FOX_JUMPS_OVER_THE_LAZY_DOG
dot.case
the.quick.brown.fox.jumps.over.the.lazy.dog
path/case
the/quick/brown/fox/jumps/over/the/lazy/dog
flatcase
thequickbrownfoxjumpsoverthelazydog
ROT13
Gur dhvpx oebja sbk whzcf bire gur ynml qbt
aLtErNaTiNg
tHe QuIcK bRoWn FoX jUmPs OvEr ThE lAzY dOg
url-slug
the-quick-brown-fox-jumps-over-the-lazy-dog
Reverse
god yzal eht revo spmuj xof nworb kciuq ehT
About the Text Case Converter
Naming conventions vary by language, framework, and context — camelCase for JavaScript variables, PascalCase for React components, snake_case for Python and SQL, kebab-case for CSS and URLs. Converting between them manually is tedious and error-prone. This tool converts text between 16 case formats instantly, with batch conversion support.
Case format reference
Programming Cases
camelCase— JS/Java variables & functionsPascalCase— class names, React componentssnake_case— Python, Ruby, SQLCONSTANT_CASE— constants in most languages
Web & Content Cases
kebab-case— CSS classes, URL slugs, file namesTitle Case— headings and titlesSentence case— body text and descriptionsdot.case— config keys, i18n strings
Pipeline
- String Escape — escape the converted text for use in JSON, HTML, or SQL.
- Word Counter — count words in the text before converting case.
Frequently asked
- Is my text sent to a server?
- No. All case conversion runs 100% in your browser. Your text never leaves your device.
- What is the difference between camelCase and PascalCase?
- camelCase starts with a lowercase letter and capitalizes each subsequent word (e.g. myVariableName). PascalCase (also called UpperCamelCase) capitalizes every word including the first (e.g. MyClassName). camelCase is standard for variables and functions in JavaScript/Java; PascalCase is standard for class names.
- What is snake_case used for?
- snake_case uses underscores between words with all lowercase letters. It is the standard naming convention in Python (variables, functions, modules), Ruby, and SQL column names. SCREAMING_SNAKE_CASE (all caps) is used for constants in most languages.
- What is kebab-case used for?
- kebab-case uses hyphens between words with all lowercase letters. It is the standard for CSS class names, HTML attributes, URL slugs, and file names in web projects. It cannot be used for variable names in most programming languages since hyphens are subtraction operators.
- What is ROT13?
- ROT13 is a simple letter substitution cipher that rotates each letter 13 positions in the alphabet. It is its own inverse — applying ROT13 twice returns the original text. It is used for hiding spoilers and puzzle answers in online communities, not for security.