Util Tools logo Util Tools
Text Tools

Free Text Case Converter Online

Convert text between 12 cases - UPPERCASE, lowercase, smart Title Case, Sentence case, camelCase, PascalCase, snake_case, kebab-case, CONSTANT_CASE, dot.case, aLtErNaTiNg, and Inverse Case. Detects word boundaries inside camelCase input.

  • 100% free
  • No signup
  • Runs in your browser
0 chars

When to use each case

Case typeCommon use
camelCaseJavaScript variables, JSON keys
PascalCaseClass names, React components
snake_casePython variables, database columns
kebab-caseCSS classes, URL slugs
CONSTANT_CASEEnvironment variables, constants
Title CaseArticle headlines, book titles
Sentence caseParagraphs, email subjects
Guide

What a case converter does

A case converter rewrites your text in a different capitalisation style without you retyping it. This tool handles 12 cases, from everyday UPPERCASE, lowercase, Title Case, and Sentence case, to the programming styles camelCase, PascalCase, snake_case, kebab-case, and CONSTANT_CASE. It even detects word boundaries inside existing camelCase, so it can convert cleanly in either direction.

The programming cases explained

  • camelCase: first word lowercase, each following word capitalised (myVariableName). Common for variables and functions in JavaScript and Java.
  • PascalCase: like camelCase but the first word is also capitalised (MyClassName). Used for class and component names.
  • snake_case: words joined by underscores, all lowercase (my_variable_name). Common in Python and database columns.
  • kebab-case: words joined by hyphens (my-page-url). Used in URLs, CSS classes, and file names.
  • CONSTANT_CASE: uppercase with underscores (MAX_RETRY_COUNT). Used for constants.

Title case vs. sentence case

Title Case capitalises the first letter of each major word and is used for headlines and titles. Sentence case capitalises only the first word (and proper nouns), like a normal sentence, and is increasingly preferred for UI labels and headings because it reads more naturally. This tool's smart Title Case correctly leaves small words like "of" and "the" lowercase where appropriate.

Why it saves time

Manually re-casing text is slow and error-prone, especially converting a variable name between styles or fixing text that arrived in ALL CAPS. Pasting it here and picking a style does it instantly and consistently. Everything runs in your browser, so even large blocks of text or code convert immediately and privately.

Last updated: July 2026

Frequently Asked Questions

What is camelCase?
camelCase is a naming convention where the first word is lowercase and each subsequent word starts with a capital letter, with no spaces. Example: myVariableName. It is widely used in JavaScript, Java, and JSON.
What is the difference between camelCase and PascalCase?
Both remove spaces and capitalize each word. The difference is the first word: camelCase starts lowercase (myVariable), while PascalCase capitalizes the first word too (MyVariable). PascalCase is used for class names and React components.
What is snake_case used for?
snake_case uses underscores between words with all lowercase letters. It is the standard naming convention in Python, Ruby, and most database column names.
What is kebab-case?
kebab-case uses hyphens between lowercase words, resembling items on a kebab skewer. It is used for CSS class names, HTML attributes, and URL slugs.
What is title case?
Title case capitalizes the first letter of each significant word. Articles, prepositions, and conjunctions under 4 characters (a, an, the, and, but, or) are not capitalized unless they are the first word.