Text Case Converter
Instantly convert text to any case — UPPER, lower, Title, camelCase, snake_case and more
About This Text Case Converter
This free text case converter supports 12 different case formats. Whether you need UPPERCASE for titles, camelCase for JavaScript variables, snake_case for Python, or kebab-case for CSS classes and URLs — convert instantly by clicking any button above.
Programming cases: camelCase and PascalCase are standard in JavaScript and Java. snake_case is preferred in Python. CONSTANT_CASE is used for constants. kebab-case appears in CSS, HTML attributes, and URL slugs. dot.case is used in configuration files and package names.
Which Case Should You Use?
The right case depends entirely on where the text is going. Using the wrong one isn't just a style issue — in code it can cause a linter error or break a build. Here's the same phrase, "hello world example", converted to every format this tool supports:
| Case | Result | Typical use |
|---|---|---|
| UPPERCASE | HELLO WORLD EXAMPLE | Constants in some languages, emphasis, acronyms |
| lowercase | hello world example | Case-insensitive comparisons, slugs |
| Title Case | Hello World Example | Headings, book/article titles |
| Sentence case | Hello world example | Body text, form labels |
| camelCase | helloWorldExample | JavaScript/Java variable and function names |
| PascalCase | HelloWorldExample | Class names, React components, C# types |
| snake_case | hello_world_example | Python variables, SQL/database columns |
| kebab-case | hello-world-example | CSS classes, HTML attributes, URL slugs |
| CONSTANT_CASE | HELLO_WORLD_EXAMPLE | Constants, environment variables |
| dot.case | hello.world.example | Config keys, npm package namespacing |
Frequently Asked Questions
Advertisement