Words: 0 Chars: 0 Mode: UPPERCASE

Text Case Converter — Tips & Guide

Instantly convert text between all common case formats for coding, writing, and design. Works entirely in your browser — nothing is sent to any server.

camelCase for JavaScript

Use camelCase for JavaScript variables and function names: myVariableName. It's the standard naming convention in JS, TypeScript, and Java.

snake_case for Python

Python and Ruby conventionally use snake_case for variables, functions, and file names: my_variable_name. PEP 8 recommends it.

Title Case for Headlines

Use Title Case for article headlines, blog post titles, and page headings. It capitalizes the first letter of each major word for a professional look.

kebab-case for URLs

Use kebab-case for URL slugs and CSS class names: my-page-title. Search engines read hyphens as word separators, boosting SEO clarity.

UPPERCASE for Constants

Constants in most languages are written in SCREAMING_SNAKE_CASE or pure UPPERCASE — like MAX_RETRIES — to signal they should never change.

PascalCase for Classes

Use PascalCase for class names and React components: MyComponent, UserProfile. It visually distinguishes types from variables and functions.

camelCase is a naming convention where words are joined without spaces and each word after the first starts with a capital letter — for example, myVariableName. It is the standard for variables and functions in JavaScript, TypeScript, Java, and Swift. The name comes from the "humps" created by the capital letters.

snake_case uses underscores to join words in all lowercase — for example, my_variable_name. It is the preferred style in Python (per PEP 8), Ruby, and for database column names. It is highly readable because the underscores clearly separate words, making long identifiers easy to parse at a glance.

Paste your text into the input box above, then click the desired format button — UPPERCASE, camelCase, snake_case, Title Case, and more. The converted text appears instantly in the result box, ready to copy. No sign-up or download needed.

Title Case capitalizes the first letter of each significant word in a sentence. Short prepositions and articles (a, an, the, of, in) are typically left lowercase unless they begin the title. It is standard for article headlines, book titles, and page headings in English.