What is Case Converter?

Free case converter tool. Convert text to UPPERCASE, lowercase, Title Case, Sentence case, camelCase, PascalCase, snake_case, kebab-case, and more. No signup required.

No file uploadsNo tracking of inputsNo account requiredWorks offline after first load

Case Converter runs entirely in your browser using JavaScript (browser). Your data never leaves your device.

Free Case Converter

Instantly convert any text between 9 different letter cases: UPPERCASE, lowercase, Title Case, Sentence case, camelCase, PascalCase, snake_case, kebab-case, and CONSTANT_CASE. Paste text, click the target case, and copy the result. Useful for developers, writers, and anyone who formats text. 100% browser-based.

Free to embed on your website · No signup required

⌨️

9 case formats

From developer conventions (camelCase, snake_case) to writing styles (Title Case, Sentence case).

↔️

Works with any text

Paste variable names, article titles, sentences, or multi-line text.

🔒

100% private

Conversion happens in your browser — your text is never sent anywhere.

Frequently Asked Questions

What is camelCase?+

camelCase starts with a lowercase letter and capitalizes the first letter of each subsequent word, with no spaces or separators (e.g., myVariableName). It is the most common naming convention in JavaScript and Java.

What is the difference between camelCase and PascalCase?+

Both capitalize the first letter of each word with no separators. camelCase starts lowercase (myVariable). PascalCase (also called UpperCamelCase) starts uppercase (MyVariable). PascalCase is standard for class names in most languages.

What is snake_case used for?+

snake_case uses underscores between words (my_variable_name). It is the standard in Python, Ruby, and database column names. CONSTANT_CASE (all uppercase snake) is used for constants in most languages.

What is kebab-case?+

kebab-case uses hyphens between words (my-variable-name). It is standard for CSS class names, HTML attributes, URL slugs, and file names.

What is Title Case?+

Title Case capitalizes the first letter of each word. Sentence case only capitalizes the first word and proper nouns (similar to regular sentences). Title Case is used for headings, book titles, and article titles.

Which case should I use for URL slugs?+

kebab-case is the universal standard for URL slugs and is strongly recommended by Google. URLs like /my-article-title are preferred over /myArticleTitle (hard to read), /my_article_title (underscores treated as word characters by some systems), or /MY-ARTICLE-TITLE (case-sensitive on Unix servers). Most CMS platforms and static site generators generate kebab-case slugs by default.

Does this convert programming variable names correctly?+

Yes, for standard English text. The converter handles word boundaries defined by spaces, hyphens, underscores, and case transitions. For example, "myVariableName" → snake_case produces "my_variable_name". It preserves acronyms as single words, so "parseHTML" → kebab-case becomes "parse-html" rather than "parse-h-t-m-l".

Naming Conventions in Programming and Design

Different programming languages, platforms, and style guides have standardized naming conventions that improve readability and consistency. JavaScript and Java use camelCase for variables and functions (myVariable) and PascalCase for classes (MyClass). Python uses snake_case for variables and functions (my_variable) and PascalCase for classes. CSS uses kebab-case for class names (my-class). Database column names and API field names typically use snake_case. Constants in most languages use CONSTANT_CASE (MAX_RETRY_COUNT). URL slugs use kebab-case — Google recommends it for SEO.

Title Case Rules and Variants

This tool uses a straightforward title case rule: capitalize the first letter of every word. More rigorous style guides have additional rules: AP Style and Chicago Style lowercase articles (a, an, the), coordinating conjunctions (and, but, or, nor, for, so, yet), and prepositions shorter than five letters (in, on, at, to, by) — unless they are the first or last word. For blog post titles, headlines, and marketing copy, simple title case is usually fine. For formal academic or journalism contexts, follow the style guide your publication requires.

Sentence Case vs Title Case for UI Writing

Most modern design systems (including Google Material, Apple HIG, and Microsoft Fluent) prefer sentence case for UI elements — button labels, navigation items, and form labels. This matches the natural reading pattern and reduces visual noise in dense interfaces. Title case is reserved for proper titles, product names, and headings in formal documents. When auditing a UI for consistency, this converter lets you instantly check whether a set of labels follows your chosen convention.

Converting Variable Names Between Languages

When porting code between languages or adapting API field names for a new context, case conversion is a frequent task. The converter handles word boundaries defined by spaces, hyphens, underscores, and case transitions. For example, a REST API returning user_profile_image_url in snake_case can be converted to camelCase (userProfileImageUrl) for a JavaScript client with a single click. This prevents typos and saves the mental overhead of manual reformatting.