Convert text to 10 case formats: UPPERCASE, lowercase, Title Case, Sentence case, camelCase, PascalCase, snake_case, SCREAMING_SNAKE, kebab-case, and dot.case.
Type text above to convert it
Text case controls how words are capitalized and separated. This converter turns plain text, headings, identifiers, file names, and URL fragments into ten common writing and programming formats without changing the original input.
| Format | Example | Common use |
|---|---|---|
| UPPERCASE | HELLO WORLD | Labels, warnings, emphasis |
| lowercase | hello world | Normalized text and searches |
| Sentence case | Hello world | Sentences and descriptions |
| Title Case | Hello World | Headings and article titles |
| camelCase | helloWorld | JavaScript and Java identifiers |
| PascalCase | HelloWorld | Classes, types, and components |
| snake_case | hello_world | Python variables and database fields |
| SCREAMING_SNAKE_CASE | HELLO_WORLD | Constants and environment variables |
| kebab-case | hello-world | URLs, CSS classes, and file names |
| dot.case | hello.world | Namespaces and dotted keys |
The converter recognizes spaces, underscores, hyphens, dots, and camel-case boundaries as word separators. Uppercase and lowercase modes preserve every character position and only change letter casing. Naming formats normalize words before applying their separator and capitalization rule.
For example, releaseCandidate_v2 becomes release candidate v2, then:
releaseCandidateV2 in camelCaseReleaseCandidateV2 in PascalCaserelease_candidate_v2 in snake_caseRELEASE_CANDIDATE_V2 in SCREAMING_SNAKE_CASErelease-candidate-v2 in kebab-caseUse the convention expected by the language or framework:
const apiResponse = parseResponse(payload);
api_response = parse_response(payload)
public class ApiResponse {
private final String requestId;
}
camelCase is common for variables and functions, PascalCase for classes and components, and snake_case for Python and many data systems. SCREAMING_SNAKE_CASE usually signals a constant rather than a regular variable.
kebab-case is generally the safest choice for URL paths because it is readable, portable, and easy to scan. It also works well for CSS classes and file names. Use lowercase or dot.case when integrating with systems that already define those conventions.
/guides/text-case-converter
.user-profile
Sentence case is easier to read in interface descriptions, help text, and longer headings. Title Case can suit short titles, but capitalization rules vary by editorial style. The converter applies consistent capitalization to every word; review proper nouns and brand names afterward.
No. Input remains untouched while a separate output is generated.
Yes. Camel-case boundaries and common separators are split into words before the selected format is applied.
Use kebab-case, such as text-case-converter. It keeps words readable and
avoids spaces in URL paths.
Use SCREAMING_SNAKE_CASE, such as MAX_RETRY_COUNT, when your language or
project uses that convention for constants.
This tool is provided for general informational and utility purposes only. Results may be inaccurate, incomplete, outdated, or contain errors. Always verify results before relying on or using them.
Some tools may use AI, automated processing, third-party services, or server-side processing. Do not rely on these tools as a substitute for professional advice.
Use at your own risk. BestToolOnline makes no guarantees regarding the accuracy, reliability, completeness, availability, or suitability of results, to the maximum extent permitted by applicable law.
See our Terms of Service and Privacy Policy for complete details.