Paste or type your text below, then click any case button to instantly convert it. Copy the result with one click.
| Case | Example |
|---|---|
| UPPERCASE | HELLO WORLD |
| lowercase | hello world |
| Title Case | Hello World |
| Sentence case | Hello world |
| camelCase | helloWorld |
| PascalCase | HelloWorld |
| snake_case | hello_world |
| kebab-case | hello-world |
| CONSTANT_CASE | HELLO_WORLD |
| aLtErNaTiNg | hElLo WoRlD |
| iNVERSE cASE | HELLo WORLd |
| esreveR | dlrow olleh |
Text case conversion is the process of changing the capitalization style of text. Different contexts require different cases โ formal writing uses Sentence case and Title Case, while programming languages use camelCase, snake_case, or CONSTANT_CASE to name variables, functions, and constants. This tool handles all of them instantly.
| Case | Best Used For |
|---|---|
| UPPERCASE | Headings, acronyms, emphasis, labels |
| lowercase | Email addresses, URLs, general text normalization |
| Title Case | Book/article titles, page headings, proper nouns |
| Sentence case | Normal writing, blog posts, messages |
| camelCase | JavaScript variables and functions: myVariableName |
| PascalCase | Class names in OOP, React components: MyComponent |
| snake_case | Python variables, database columns: user_first_name |
| kebab-case | CSS classes, HTML attributes, URLs: my-class-name |
| CONSTANT_CASE | Constants in most languages: MAX_RETRY_COUNT |
camelCase writes compound words with no spaces, where each word after the first starts with a capital letter โ like the humps of a camel. Example: myVariableName. It's the standard naming convention for variables and functions in JavaScript, Java, and many other languages.
Both join words without spaces and capitalize each word. The difference is the first letter: camelCase starts with a lowercase letter (myVariable), while PascalCase (also called UpperCamelCase) starts with an uppercase letter (MyVariable). PascalCase is commonly used for class names and constructors.
snake_case separates words with underscores and keeps everything lowercase. It's the standard naming convention in Python for variables and functions, and is widely used for database column names and file names. Example: user_first_name, get_user_data.
kebab-case separates words with hyphens โ like skewers on a kebab. It's used for CSS class names (.main-container), HTML data attributes (data-user-id), and URL slugs (/blog/my-first-post). It's not valid in most programming languages as a variable name since the hyphen is treated as a minus sign.
Title Case capitalizes the first letter of each major word. It's used for book titles, article headlines, page titles, and proper nouns. Short connecting words like "and," "or," "the," and "in" are typically not capitalized in formal title case โ this tool capitalizes every word for maximum compatibility across style guides.
Sentence case capitalizes only the first letter of the first word in a sentence, plus proper nouns. It's the standard capitalization used in most everyday writing โ blog posts, messages, UI labels, and descriptions. It's easier to read than Title Case for long paragraphs.