Util Tools logo Util Tools
Outils Texte

Case Converter

Convert text between 11 cases - upper, title, camel, snake, kebab, and more.

  • 100% gratuit
  • Sans inscription
  • S’exécute dans votre navigateur
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.

Dernière mise à jour: septembre 2026

Frequently Asked Questions

Cet outil est-il gratuit et sécurisé ?
Oui, cet outil est 100% gratuit et sexécute de manière sécurisée et privée dans votre navigateur.