← Imperial Products / Tools / Text Case Converter

Text Case Converter

Instantly convert text to uppercase, lowercase, title case, camelCase, snake_case, and 8 more formats. Click any result to copy it. Everything runs in your browser — nothing is uploaded.

Input Text
0 characters 0 words 0 lines 0 sentences
Click any card to copy that result
Selected Output
none

What Is a Text Case Converter?

A text case converter changes the capitalisation style of a string without altering the words themselves. Whether you need to normalise user input, follow a coding convention, or reformat headings, converting case by hand is tedious and error-prone. This tool converts any text to 13 different case formats in one click.

Supported Case Formats

Which Case Should I Use in Code?

Different languages and ecosystems have strong conventions. Python uses snake_case for variables and functions, PascalCase for classes. JavaScript/TypeScript use camelCase for variables and PascalCase for classes and React components. CSS custom properties and HTML attributes use kebab-case. Environment variables and compile-time constants are almost universally CONSTANT_CASE.

Title Case Rules

This tool follows a common English title-case rule: always capitalise the first and last word, and capitalise all other words except short articles (a, an, the), coordinating conjunctions (and, but, for, nor, or, so, yet), and prepositions of fewer than five letters (at, by, for, in, of, on, to, up, as). This matches the Chicago Manual of Style guidelines used in most publishing contexts.

More Free Developer Tools