Text Case Converter

Convert any text to camelCase, PascalCase, snake_case, kebab-case, SCREAMING_SNAKE_CASE, Title Case, UPPERCASE, lowercase, and dot.case instantly. Everything runs in your browser — nothing is sent to any server.

Results will appear here as you type

camelCasePascalCasesnake_casekebab-caseSCREAMING_SNAKETitle CaseUPPERCASEdot.case

Related Tools

Frequently Asked Questions

What is the difference between camelCase and PascalCase?

Both join multiple words without spaces, but they differ in how they handle the first word. camelCase starts with a lowercase letter (myVariableName) while PascalCase capitalizes every word including the first (MyVariableName). In practice: camelCase is the default for variables and functions in JavaScript, Java, and Go. PascalCase is used for class names, React components, TypeScript interfaces, and exported Go functions.

When should I use snake_case vs kebab-case?

snake_case (words separated by underscores) is standard for Python variables/functions, Ruby, PostgreSQL column names, and Rust variables. kebab-case (words separated by hyphens) is used for URL slugs, CSS class names, HTML custom attributes, and CLI flags (like --dry-run). The key difference: hyphens are invalid in most programming language identifiers, so kebab-case is reserved for contexts where it won't be used as a variable name.

What is SCREAMING_SNAKE_CASE used for?

SCREAMING_SNAKE_CASE (all uppercase with underscores) is the universal convention for constants and environment variables: MAX_RETRIES, DATABASE_URL, API_KEY. The all-caps signals to readers that this value doesn't change at runtime. It's used in Python (constants), C/C++ (macros and constants), Java (static final fields), and in .env files and shell scripts universally.

How does the converter handle acronyms and abbreviations?

The converter treats sequences of uppercase letters as a single unit that gets split as one word. For example, 'parseHTTPResponse' is split into ['parse', 'http', 'response'] and then recombined in the target case. This means 'parseHTTPResponse' → snake_case becomes 'parse_http_response' (the acronym 'HTTP' is preserved as one word in lowercase). If you need different behavior, you can pre-split acronyms manually before converting.

What is dot.case used for?

dot.case (words separated by dots) is less common than the other cases but appears in: Java package names (com.example.myapp), configuration keys in some frameworks (spring.datasource.url), i18n translation keys (user.profile.title), and Terraform resource identifiers. It's also the natural format for accessing nested properties in some template engines.