Case Converter — UPPERCASE, lowercase, Title Case & More
This case converter transforms any text between UPPERCASE, lowercase, Title Case, Sentence case, and the case styles programmers use daily: camelCase, PascalCase, snake_case, and kebab-case. Paste or type your text, pick a style, and copy the result — no retyping, no manual fixes, and full support for accented characters like ã, é, and ñ.
Beyond fixing text accidentally typed with Caps Lock on, case conversion matters wherever naming conventions are enforced: variable names in code, URL slugs, database columns, CSS classes, and headline capitalization in documents. Converting between conventions by hand is slow and error-prone; this tool splits words correctly even across hyphens, underscores, and mid-word capital letters.
How it works
Simple styles use Unicode-aware string mapping: toUpperCase and toLowerCase convert each character according to the Unicode case tables, so accented letters convert correctly. Programming styles first split the text into words at spaces, hyphens, underscores, and lowercase-to-uppercase boundaries, then rejoin the words with the target separator and capitalization pattern (e.g., snake_case joins with underscores in lowercase; camelCase capitalizes every word except the first).
Use cases
- Fixing a paragraph typed with Caps Lock on without retyping it
- Converting variable names between camelCase, snake_case, and kebab-case when moving code between languages
- Generating lowercase kebab-case slugs for URLs and file names
- Applying Title Case to headlines, titles, and document headings
- Normalizing inconsistent capitalization in spreadsheets and imported data
- Preparing constant names in UPPER_SNAKE_CASE for configuration files
Frequently asked questions
What is the difference between camelCase and PascalCase?
Both styles remove separators and capitalize word boundaries, but camelCase starts with a lowercase letter (myVariableName) while PascalCase capitalizes the first word too (MyVariableName). In many languages, camelCase is the convention for variables and functions, while PascalCase is reserved for class and type names. Choosing the right one keeps your code consistent with its ecosystem's style guide.
What is snake_case and where is it used?
snake_case joins lowercase words with underscores, as in user_first_name. It is the standard convention for variables and functions in Python and Ruby, for database column names in SQL, and for keys in many configuration formats. The all-caps variant, UPPER_SNAKE_CASE, is widely used for constants and environment variables.
What is kebab-case used for?
kebab-case joins lowercase words with hyphens, as in my-page-title. It is the dominant convention for URL slugs, CSS class names, HTML attributes, and file names, because hyphens are URL-safe and search engines treat them as word separators. It cannot be used for variable names in most programming languages, since the hyphen is read as a minus sign.
How does Sentence case differ from Title Case?
Sentence case capitalizes only the first letter of each sentence, the way normal prose is written. Title Case capitalizes the first letter of each word and is common in English headlines and book titles. This tool applies simple Title Case to every word; editorial styles such as AP or Chicago additionally keep short words like "of" and "the" lowercase, so review the output if you follow a specific style guide.
Does the converter work with accents and non-English letters?
Yes. Conversions use Unicode case mapping, so characters such as ç, ã, é, ü, and ñ convert correctly between uppercase and lowercase. This matters for Portuguese, Spanish, French, and other languages where naive ASCII-only tools either skip accented letters or strip the diacritics.