Case Converter
Convert text between uppercase, lowercase, title case, sentence case, and more.
Instantly convert text between uppercase, lowercase, title case, sentence case, and programming-style cases like camelCase, PascalCase, snake_case, and kebab-case.
How Case Converter Works
UPPERCASE and lowercase simply convert every letter's case. Title Case capitalizes the first letter of each word, while Sentence case capitalizes only the first letter of each sentence (after a period, question mark, or exclamation point).
The programming-style conversions first lowercase the entire string, then transform it based on word boundaries (spaces, hyphens, underscores): camelCase joins words with no separator and capitalizes every word except the first; PascalCase does the same but also capitalizes the first word; snake_case joins words with underscores; and kebab-case joins words with hyphens.
See It In Action
Who Uses Case Converter and Why
- Converting a heading typed in all caps into proper title case for consistent formatting.
- Turning a phrase into camelCase or snake_case to use as a variable or function name in code.
- Converting a page title into kebab-case to generate a clean, URL-friendly slug.
- Fixing text that was accidentally typed with caps lock on by converting it to sentence case.
Mistakes to Avoid
- Assuming camelCase and PascalCase are interchangeable in code — they're nearly identical, but camelCase starts with a lowercase letter and PascalCase starts with uppercase, and many languages/style guides use them for different purposes (variables vs. class names, for example).
- Using spaces in an identifier or URL slug instead of converting to snake_case or kebab-case first — many programming languages and URL conventions don't allow literal spaces in identifiers, so this typically causes an error or a broken link downstream.
- Converting text to title case and expecting every word capitalized, including small words like "and" or "the" — depending on the specific title case convention applied, minor words are sometimes left lowercase, which can look inconsistent with a different style guide's expectations.
Tips for Best Results
- Use snake_case or kebab-case specifically based on convention — many programming languages favor snake_case for variables while URL slugs almost universally use kebab-case; check what's standard for your specific context before picking one.
- When converting existing code-style text (like camelCase) back to plain words, the tool splits at existing case boundaries, so double-check the result on abbreviations or acronyms embedded in the original text, which can split unexpectedly.
Fixing Common Problems
Converting to snake_case or kebab-case produces unexpected extra separators. — This can happen if the source text already contains punctuation or mixed casing that gets treated as a word boundary — clean up the input text first if the source has unusual formatting.
Title case isn't capitalizing every word the way I expected. — Standard title case conventions often keep short connecting words (like "a," "an," "the," "of") lowercase unless they're the first word — this is typically intentional, following common style guide rules rather than an error.
Terms Explained
camelCase: A naming convention where the first word is lowercase and each subsequent word starts with a capital letter, with no spaces or separators — common for variable names in many programming languages.
kebab-case: A naming convention that joins words with hyphens and uses no capitalization — the standard format for URL slugs.
snake_case: A naming convention that joins words with underscores and uses no capitalization — common for variable names in languages like Python.