Text Case Converter
Convert text between different cases instantly.
Enter some text above to see all case conversions
About this tool
Transform text between various cases including uppercase, lowercase, title case, sentence case, camelCase, snake_case, and kebab-case. Perfect for developers and content creators.
Variants
camelCase
Convert any text to camelCase. Remove spaces and punctuation, lowercase the first word, capitalise the rest. Standard JavaScript variable-naming convention.
snake_case
Convert any text to snake_case. Lowercase words joined by underscores — the Python, Ruby, and SQL column convention.
kebab-case
Convert any text to kebab-case. Lowercase words joined by hyphens — the standard for CSS class names, URL slugs, and npm package names.
PascalCase
Convert text to PascalCase. Capitalise every word, remove spaces and punctuation — the convention for class names, React components, and .NET types.
Title Case
Convert any text to Title Case. Capitalise the first letter of each word, keep whitespace — for book titles, chapter headings, and AP-Style headlines.
Features
- Convert text to uppercase, lowercase, or title case
- Support for camelCase, snake_case, and kebab-case
- Sentence case and other formatting options
- Copy converted text to clipboard instantly
How to Use
- Paste or type your text into the input area
- Click the desired case conversion button
- View the converted text in the output area
- Copy the result using the copy button
Frequently Asked Questions
What's the difference between title case and sentence case?
Title case capitalises most words in a title ("A Tale of Two Cities"). Sentence case only capitalises the first word and proper nouns ("A tale of two cities"). Most style guides prefer sentence case for headlines now because it reads faster; AP Style still uses title case.
How does the converter handle abbreviations like URL or API?
It treats them as regular words unless you're converting from camelCase or PascalCase, where it tries to preserve acronym boundaries. For exact control over "userAPIClient" ↔ "user-api-client" vs "user-a-p-i-client", you may need to post-edit — there's no perfect automatic rule.
Why does my camelCase output have capital letters in the middle of numbers?
Because digits create an implicit word boundary in most conversion algorithms. "version2Field" becomes "version-2-field", and round-tripping to camel gives "version2Field". If you want "version2field" instead, paste your string in snake_case first, then convert.
Is kebab-case the same as snake_case?
Same concept, different separator. kebab-case uses hyphens (url-slug-generator), snake_case uses underscores (url_slug_generator). CSS class names, URLs, and npm package names tend to use kebab; Python variables and SQL columns tend to use snake.
Does this work for non-Latin alphabets?
Mostly — upper and lowercase conversion works for any script with cased characters (Latin, Greek, Cyrillic). Scripts without case (Arabic, Hebrew, CJK, Devanagari) pass through unchanged. Tokenisation assumes whitespace separation, so CJK input won't split into "words" the way English does.