Instantly convert text between UPPERCASE, lowercase, Title Case, camelCase, snake_case and more. Everything runs in your browser.
| Language | Variables & functions | Types & classes | Constants |
|---|---|---|---|
| JavaScript / TypeScript | camelCase | PascalCase | CONSTANT_CASE |
| Python | snake_case | PascalCase | CONSTANT_CASE |
| Go | camelCase (unexported), PascalCase (exported) | PascalCase | PascalCase |
| Rust | snake_case | PascalCase | CONSTANT_CASE |
| Java / C# | camelCase (Java), PascalCase (C#) | PascalCase | CONSTANT_CASE |
| Ruby | snake_case | PascalCase | CONSTANT_CASE |
| SQL | snake_case | — | — |
| CSS | kebab-case | — | --kebab-case (custom properties) |
| Style | Rule | Example |
|---|---|---|
| Simple / start case | Capitalise every word | The Rise Of The Machines |
| AP style | Lowercase words under 4 letters | The Rise of the Machines |
| Chicago style | Lowercase articles, conjunctions, prepositions | The Rise of the Machines |
| Sentence case | Capitalise first word and proper nouns only | The rise of the machines |
parseHTTPResponse should split as parse, HTTP, Response — but a rule that breaks before every capital produces parse, H, T, T, P, Response instead. This is why acronyms often survive a round trip through a converter in a mangled form, and why many style guides now recommend writing parseHttpResponse to sidestep the problem entirely.No. All case conversion happens locally in your browser. Nothing is uploaded, so it is safe for private text.
Yes. Paste the text and choose Sentence case or Title Case to restore normal capitalisation instantly.
It depends on the language: camelCase for JavaScript variables, PascalCase for classes/components, snake_case for Python, and kebab-case for URLs and CSS.
Only the first letter. camelCase starts lowercase (userName) and PascalCase starts uppercase (UserName). Most languages use camelCase for variables and PascalCase for classes and types.
It depends on the context. snake_case for Python, Ruby and SQL identifiers; kebab-case for URLs, CSS class names and HTML attributes. Hyphens are not valid in identifiers in most languages, which is why code uses underscores.
This tool applies simple title case, which capitalises every word. AP and Chicago styles lowercase short articles, conjunctions and prepositions, so adjust those by hand if you are following a specific style guide.
Consecutive capitals such as HTTP or URL are hard to split reliably, so they may be reformatted unexpectedly. Check identifiers containing acronyms after conversion.
In most languages, no — it is only a convention. Go is the exception: a capitalised identifier is exported from its package and a lowercase one is not, so case changes behaviour.