text_fieldsCase Converter
UPPER CASE
lower case
camelCase
PascalCase
snake_case
kebab-case
Title Case
Sentence case
â„šī¸ Help

Case Converter is a free online tool that instantly converts text into various formats frequently used by developers. You can easily generate formats suitable for coding conventions, such as camelCase, snake_case, kebab-case, and PascalCase.

Useful for programming tasks like naming variables, renaming database columns, or writing CSS classes. The input text is converted in real-time to uppercase, lowercase, title case, and more, and you can copy the results with a single click.

Instruction

Multi-Format String Case Converter

The Case Converter is a vital productivity tool for programmers, database administrators, and content editors. It automates the tedious task of retyping variables or headlines to fit specific style guides or syntax requirements.

Naming Conventions in Programming

Different programming languages and communities have adopted strict standards for naming identifiers. Breaking these standards can lead to code that is hard to maintain or rejected by linters.

  • camelCase: Used in Java, JavaScript, and Swift for variable and function names (e.g., `myVariableName`). The first letter is lowercase, and each subsequent word starts with a capital letter.
  • PascalCase (UpperCamelCase): Standard for Classes in C#, Java, and Components in React/Angular (e.g., `MyClassName`). Similar to camelCase, but the very first letter is also capitalized.
  • kebab-case: Used in URLs (SEO friendly) and CSS class names (e.g., `my-class-name`). All lowercase with hyphens. Sometimes called "Lisp Case".
  • snake_case: Standard in Python and for database column names (e.g., `user_id`). All lowercase with underscores.
  • SCREAMING_SNAKE_CASE: Universally used for generic Constants and Environment Variables (e.g., `API_KEY`).

Usage Scenarios

Refactoring Legacy Code: Imagine moving a database schema (SQL uses snake_case) to a JavaScript frontend (uses camelCase). Instead of manually renaming 50 columns, copy the list, paste it here, and convert instantly.
Content Formatting: Convert "shouting" text (ALL CAPS) into proper "Sentence case" for readability, or format blog titles into "Title Case" automatically.

grid_view
13:46
2025-12-28