Text Case Converter

Type or paste text and pick a case style — the result updates instantly. Covers everyday writing styles (UPPERCASE, Title Case) and programming naming conventions (camelCase, snake_case, kebab-case).

 

How to use

For plain writing: UPPERCASE for emphasis or headers, Sentence case to fix text typed with caps lock stuck on, Title Case for headlines (capitalizes each word).

For code: camelCase for JavaScript/Java variables, PascalCase for class and component names, snake_case for Python and database columns, kebab-case for URLs and CSS classes, CONSTANT_CASE for constants and environment variables. The converter splits on spaces, hyphens, underscores and camelCase boundaries, so you can convert between any of these styles directly, not just from plain text.

FAQ

What's the difference between camelCase and PascalCase?

camelCase starts with a lowercase letter (`firstName`), PascalCase starts with uppercase (`FirstName`). JavaScript variables and functions conventionally use camelCase; classes, types and React components use PascalCase.

Can I convert snake_case directly to camelCase?

Yes — paste `user_first_name` and select camelCase to get `userFirstName`. The tool recognizes underscores, hyphens and existing camelCase boundaries as word separators before reassembling in the target style.

How does Sentence case handle multiple sentences?

It lowercases everything, then capitalizes the first letter after the start of the text and after each `.`, `!` or `?` followed by whitespace — matching normal sentence capitalization rules.

What is CONSTANT_CASE used for?

Also called SCREAMING_SNAKE_CASE — the convention for constants and environment variables across most languages, e.g. `MAX_RETRY_COUNT` or `DATABASE_URL`.

More tools