Convert text between everyday capitalization styles and programming naming conventions, instantly, right in your browser. Nothing you type here is ever sent to Brekzy.
A text case converter rewrites the same words into a different capitalization or naming style without you having to retype anything. Type or paste a sentence, click one of the case options, and the tool rebuilds it, whether that means capitalizing it for a headline, lowercasing it for a form field, or reshaping it into a naming convention a programming language expects, like camelCase or snake_case. It also works in reverse: paste in text that's already written in one of those programming styles, and the tool recognizes the existing word boundaries and converts it into any other style you need.
For everyday writing, most capitalization needs come down to a handful of styles. UPPERCASE puts every letter in caps, useful for emphasis or short labels but hard to read at length. lowercase removes capitalization entirely, common in casual writing or as a normalized format for comparing strings. Title Case capitalizes the main words in a heading while keeping small connecting words like "of" and "the" lowercase in the middle, the style you'd expect in a book title or article headline. Sentence case capitalizes only the first word of a sentence, the way ordinary prose is written, and this tool adds a closing period if the text doesn't already end with one.
camelCase and PascalCase both join words together with no spaces or separators, capitalizing the first letter of each word after the first to mark where one word ends and the next begins. The difference is just that first letter: camelCase starts with a lowercase letter, like userName, while PascalCase starts with a capital, like UserName. In most programming languages, camelCase is the convention for variables and function names, while PascalCase marks classes, types, and components, so the casing itself signals what kind of thing you're looking at.
snake_case and kebab-case both lowercase every word and separate them with a punctuation mark instead of a space, but they use different marks: snake_case uses an underscore, like user_name, and kebab-case uses a hyphen, like user-name. The choice usually comes down to where the text is going. snake_case is common in Python and Ruby variable names and in database column names, since underscores are valid in identifiers there. kebab-case shows up in URLs, CSS class names, and HTML attributes, where a hyphen reads cleanly and a literal underscore can be harder to see at a glance.
Which style fits depends on where the text is going. Title Case suits headings and page titles. Sentence case suits ordinary body copy and captions. camelCase is the standard for JavaScript variable and function names. PascalCase marks class names, types, and components across most languages. snake_case is the usual choice for Python or Ruby variables and for database column names. kebab-case is what you want for URL slugs and CSS class names. CONSTANT_CASE, all uppercase with underscores, is the conventional way to write constants and environment variables, like MAX_RETRY_COUNT, so they stand out from regular variables at a glance.
camelCase joins words together with no spaces or punctuation, lowercases the first word entirely, and capitalizes the first letter of every word after that, like "firstName" or "totalItemCount". It gets its name from the "humps" the capital letters create partway through the word.
PascalCase works the same way as camelCase, joining words with no spaces, except the very first word is also capitalized, like "FirstName" or "TotalItemCount". The only difference between the two styles is whether that first letter is uppercase or lowercase.
snake_case lowercases every word and joins them with underscores instead of spaces, like "first_name" or "total_item_count". It reads left to right the way an underscored trail might look, which is where the name comes from.
kebab-case lowercases every word and joins them with hyphens instead of spaces, like "first-name" or "total-item-count". The hyphens are said to resemble items on a skewer, which is where the name comes from.
No. Every conversion runs in your browser using JavaScript. Your text is never sent to Brekzy, never logged, and never stored, whether you close the tab immediately or leave it open all day.
Yes. This tool recognizes text that is already in camelCase, PascalCase, snake_case, or kebab-case as valid input, splits it back into individual words correctly, and converts it into any of the other nine styles.
Yes. Numbers are kept as part of the output rather than dropped, and punctuation is treated as a word separator, so something like "Item #42" still carries the "42" through into whichever case you convert it to.
Explore Brekzy's growing collection of free calculators, converters, AI tools, and practical resources.