Text Case Converter
Convert text between 12 case styles — instantly and free
Real-time
|
100% client-side
Input Text
0 characters
|
0 words
Convert To
Output
100% Private
All text conversion happens locally in your browser. Nothing is ever sent to any server or stored anywhere.
Text Case Types Explained
A quick reference for every case style supported by this converter
| Case Type | Example | Description |
|---|---|---|
| UPPERCASE | HELLO WORLD | All letters converted to capitals |
| lowercase | hello world | All letters converted to small letters |
| Title Case | Hello World | First letter of each word capitalized |
| Sentence case | Hello world | First letter of each sentence capitalized |
| camelCase | helloWorld | First word lowercase, subsequent words capitalized, no spaces |
| PascalCase | HelloWorld | Every word capitalized, no spaces |
| snake_case | hello_world | All lowercase with underscores between words |
| kebab-case | hello-world | All lowercase with hyphens between words |
| CONSTANT_CASE | HELLO_WORLD | All uppercase with underscores between words |
| dot.case | hello.world | All lowercase with dots between words |
| aLtErNaTiNg cAsE | hElLo wOrLd | Characters alternate between lower and upper |
| iNVERSE cASE | hELLO wORLD | Swaps the case of each character |
When to Use Each Case
Choosing the right case for programming, writing, and web content
Programming Contexts
- camelCase — variables and functions in JavaScript, Java, TypeScript
- PascalCase — class names, React components, C# methods
- snake_case — Python variables, Ruby, database columns
- CONSTANT_CASE — constants, environment variables, config keys
- kebab-case — CSS classes, HTML attributes, URL slugs
- dot.case — object property paths, Java package names
Writing & Content Contexts
- Title Case — headings, article titles, book titles
- Sentence case — body text, paragraphs, normal writing
- UPPERCASE — acronyms, emphasis, legal disclaimers
- lowercase — casual writing, social media, hashtags
- Alternating case — memes, sarcasm, stylized text
- Inverse case — creative design, artistic emphasis
Tip: Following naming conventions consistently makes code more readable and maintainable. Most linters and style guides enforce specific casing rules for variables, functions, classes, and constants.
Frequently Asked Questions
Common questions about text case conversion
A text case converter is a tool that transforms your text between different letter casing styles. Instead of manually retyping text, you can paste it once and instantly convert to any of 12 supported formats including UPPERCASE, lowercase, Title Case, camelCase, snake_case, and more. It runs entirely in your browser — no data is sent to any server.
camelCase starts with a lowercase letter and capitalizes the first letter of each subsequent word (e.g.
myVariableName). PascalCase capitalizes the first letter of every word, including the first (e.g. MyVariableName). In practice, camelCase is the convention for variables and functions in JavaScript, Java, and TypeScript, while PascalCase is used for class names, React components, and C# methods.snake_case separates words with underscores and is the standard in Python, Ruby, Rust, and SQL database column names. kebab-case separates words with hyphens and is standard for CSS class names, URL slugs, and HTML attributes. The choice depends on the language or platform conventions you are following.
No. This text case converter is 100% client-side. All processing happens locally in your browser using JavaScript. Your text is never transmitted, stored, or logged on any server. You can verify this by checking the Network tab in your browser's Developer Tools or by disconnecting from the internet — the tool continues to work.
CONSTANT_CASE (also known as SCREAMING_SNAKE_CASE) converts text to all uppercase letters with underscores between words, such as
MAX_RETRY_COUNT or API_BASE_URL. It is the universal convention for declaring constant values in almost every programming language, as well as for naming environment variables in .env files and system configuration.