Case Converter

Switch text between UPPERCASE, lowercase, Title Case, and code cases.

The case converter

Type or paste your text and pick a style: Title Case, Sentence case, UPPERCASE, lowercase, camelCase, PascalCase, snake_case, kebab-case, aLtErNaTiNg or iNVERSE. The converted text updates as you type, ready to copy, and the style you pick is kept in the page link. Title Case keeps short words such as a, of and the lowercase in the middle of a title.

About the case converter

The WordBench case converter rewrites your text into any casing style with a single click. UPPERCASE, lowercase, Title Case, and Sentence case cover everyday writing, while camelCase, PascalCase, snake_case, and kebab-case cover the naming conventions developers reach for every day.

Retyping a heading just to fix its capitalization is a small, avoidable chore. Paste the text once, pick a style, and copy the result. Title Case is smart about small words, so short articles and prepositions like a, of, and the stay lowercase in the middle of a title but capitalize at the start and end, following common style guidance.

It all happens instantly and locally. There is no upload step and no waiting, so the tool works just as well on a single label as it does on a long list of product names you need to normalize.

Which case does which language expect?

Case is not a preference in code, it is a documented convention per language, and getting it wrong is the fastest way to look like a visitor in a codebase. Each row links to the style guide it comes from.

Naming conventions by language, from each language’s own published style guide.
LanguageVariablesFunctionsTypesConstantsSource
JavaScript and TypeScriptcamelCasecamelCasePascalCaseUPPER_SNAKE_CASEGoogle JavaScript Style Guide
Pythonsnake_casesnake_casePascalCaseUPPER_SNAKE_CASEPEP 8, Style Guide for Python Code
GocamelCasePascalCase when exported, camelCase when notPascalCasePascalCase or camelCase, not shoutingEffective Go, names
Rustsnake_casesnake_casePascalCaseUPPER_SNAKE_CASERust API Guidelines, naming
JavacamelCasecamelCasePascalCaseUPPER_SNAKE_CASEGoogle Java Style Guide
CSSkebab-casekebab-casekebab-case for classeskebab-case custom propertiesCSS Custom Properties, MDN
SQLsnake_casesnake_casesnake_case tablesUPPER_SNAKE_CASE keywordsUnquoted identifiers fold case, PostgreSQL documentation
URLs and file nameskebab-casekebab-casekebab-casekebab-caseKeep a simple URL structure, Google Search Central

Who uses it

DevelopersConvert a label into camelCase, snake_case, or kebab-case for variables, database columns, and file names without hand editing.
Writers and editorsFix a heading that came in shouting in all caps, or apply consistent Title Case across a set of headlines.
Data and ops teamsNormalize a column of names or tags into one predictable casing before importing or comparing.
DesignersPreview how a wordmark or button label reads in different cases before committing to one.

Worked example

Try it with fictional text

Start with the phrase "quarterly report for globex".

Title Case returns Quarterly Report for Globex, keeping for lowercase in the middle. snake_case returns quarterly_report_for_globex, ready to drop into a database column. camelCase returns quarterlyReportForGlobex for a variable name. One input, every convention.

Frequently asked questions

What is the difference between Title Case and Sentence case? Title Case capitalizes the first letter of most words, the way a headline is styled, while keeping short connecting words lowercase in the middle. Sentence case capitalizes only the first word of each sentence and any proper nouns you already typed, the way ordinary prose is written.

What is the difference between Title Case and Sentence case?

Title Case capitalizes the first letter of most words, the way a headline is styled, while keeping short connecting words lowercase in the middle. Sentence case capitalizes only the first word of each sentence and any proper nouns you already typed, the way ordinary prose is written.

What are camelCase, snake_case, and kebab-case for?

They are naming conventions used in code. camelCase joins words with no spaces and an uppercase letter at each new word, snake_case joins them with underscores, and kebab-case joins them with hyphens. They keep identifiers readable where spaces are not allowed.

Will it handle text that is already mixed case?

Yes. The converter reads the words in your text regardless of their current casing and rebuilds them in the style you choose, so you can go from ALL CAPS to Title Case or from a code identifier back to plain words.

Does converting case change my punctuation?

Punctuation and numbers are preserved. Only letter casing and, for the code styles, the separators between words are changed.

Exactly what this tool counts, and why the result can differ from your word processor, is written out on the methodology page. Platform character limits, with the unit each one counts in and the date it was checked, are on the character limits pages.


Related tools