All 13 converters
Quick reference
| Format | Example | Use when | Language |
|---|---|---|---|
| lowercase | hello world | URLs, filenames, informal writing | Universal |
| UPPER CASE | HELLO WORLD | Headings, emphasis, acronyms | Universal |
| camelCase | helloWorld | Variables, functions, JSON keys | JavaScript, TypeScript, Java |
| PascalCase | HelloWorld | Classes, React components, interfaces | React, C#, TypeScript |
| snake_case | hello_world | Functions, variables, DB columns | Python, Ruby, SQL |
| kebab-case | hello-world | URL slugs, CSS classes, HTML attrs | CSS, HTML, URLs |
| Title Case | Hello World | Article headings, formal documents | APA, AP, Chicago style |
| Sentence case | Hello world | Everyday writing, UI copy, emails | Universal |
| Capitalized | Hello World | Display names, product titles | Universal |
| dot.case | hello.world | Package names, config file keys | Java, Spring |
| aLtErNaTiNg | hElLo wOrLd | Humor, sarcasm, social media | — |
| iNVERSE cASE | hELLO wORLD | Inverting existing casing | — |
| SCREAMING_SNAKE | HELLO_WORLD | Constants, environment variables | Python, C, Java, POSIX |
How to use
- Paste or type your text into the converter above.
- Select the case format you need from the grid.
- Copy or download the result.
No character limit. Works on a single word or an entire document. Includes undo (Revert) and character and word count.
Why developers and writers use this
- Speed. Convert large blocks of text in seconds — no find-and-replace, no manual editing.
- 13 formats. Covers everyday formats (uppercase, lowercase, Title Case) and developer formats (camelCase, snake_case, PascalCase, SCREAMING_SNAKE_CASE, and more).
- No reformatting. Caps lock left on, ALL CAPS from a paste, inconsistent capitalisation — paste it in, pick the format, fixed.
- Developer-ready. Instantly convert variable names, function names, CSS classes, and database columns to the correct naming convention for your language.
Naming convention standards
Each major format is defined by a formal style guide or specification. Following the governing standard ensures your code is consistent with community expectations and passes linting rules.
- snake_case — mandated by Python PEP 8 for functions, variables, and module names. Also standard in Ruby and SQL.
- camelCase — specified by the Google JavaScript Style Guide and ECMAScript for variables and function names in JavaScript and TypeScript.
- PascalCase — required by React JSX (components must begin with an uppercase letter to distinguish them from HTML elements), TypeScript class names, and C# conventions.
- kebab-case — recommended by Google's URL guidelines for URL slugs. Google's crawler treats hyphens as word separators, improving keyword indexing.
- SCREAMING_SNAKE_CASE — mandated by Python PEP 8 for module-level constants and required by the POSIX standard for environment variable names (
DATABASE_URL,API_KEY). - dot.case — standard for Java package names and widely used in Spring Boot, Quarkus, and other Java configuration frameworks.
How to change text case without a converter
Most office and writing tools have built-in case functions. Here is how to use them — and when a dedicated converter is faster.
Excel
Three text case functions:
=UPPER(A1)— converts to UPPERCASE=LOWER(A1)— converts to lowercase=PROPER(A1)— converts to Title Case
Limitation: PROPER capitalizes every word including articles. For correct title case, use the free converter.
Google Docs
Select the text, then go to Format → Text → Capitalisation. Options: UPPERCASE, lowercase, Title Case. No camelCase or snake_case. Use the free converter for developer formats.
Microsoft Word
Select the text, then click Change Case (Aa on the Home tab). Shortcut: Shift+F3 cycles through sentence case, UPPERCASE, and lowercase. Use the free converter for correct Title Case.
macOS
Select your text, then go to Edit → Transformations. Works in TextEdit, Notes, Mail, and most apps. No developer formats. Use the free converter for camelCase, snake_case, and more.
CSS
CSS can change the visual display of text:
text-transform: uppercasetext-transform: lowercasetext-transform: capitalize
CSS transforms are display-only — they do not change the actual DOM value. Use the free converter to permanently transform text.
Frequently asked questions
What is a text case converter?
A text case converter transforms text between different capitalisation formats — UPPERCASE, lowercase, camelCase, snake_case — instantly. Instead of retyping or manually editing text, you paste it in, select a format, and copy the result.
What is the difference between camelCase and PascalCase?
Both join words without spaces, but camelCase starts with a lowercase letter (myVariableName) while PascalCase starts with an uppercase letter (MyVariableName). camelCase is standard for JavaScript variables and functions; PascalCase is required for React component names and most class definitions.
When should I use snake_case vs camelCase?
Use snake_case in Python (mandated by PEP 8), Ruby, and SQL. Use camelCase in JavaScript, TypeScript, and Java. When a Python API is consumed by a JavaScript frontend, the API commonly returns snake_case in responses and the frontend converts to camelCase.
What is kebab-case used for?
Kebab-case is the standard for URL slugs, CSS class names, and HTML data attributes. Google's URL guidelines recommend hyphens over underscores because Google treats hyphens as word separators: my-page is indexed as two words separately, improving search relevance.
What is the difference between Title Case and Sentence case?
Title Case capitalises the first letter of every major word while keeping articles, short prepositions, and conjunctions lowercase. Sentence case capitalises only the first word. Use Title Case for headings and formal documents; Sentence case for everyday writing and UI copy.
Why does Google recommend hyphens over underscores in URLs?
Google's crawler treats a hyphen as a word separator but an underscore as a character joiner. So case-converter is indexed as two words (case and converter), while case_converter is treated as one word. Use kebab-case in all URL slugs for maximum search indexing.
What is SCREAMING_SNAKE_CASE?
SCREAMING_SNAKE_CASE uses all uppercase letters with underscores as separators: DATABASE_URL, API_KEY, NODE_ENV. It is the universal standard for environment variables and constants across most languages — mandated by Python PEP 8 for module-level constants and required by the POSIX standard for environment variable names.
Is My Convert Case free to use?
Yes — completely free, no signup, no character limit. Text you paste is processed entirely in your browser and never sent to a server.