Case Converter

Convert text between camelCase, snake_case, kebab-case, PascalCase, and more.

💡 Tip: Perfect for converting variable names, file names, or any text between programming conventions.

About Case Converter

This tool converts text between different naming conventions commonly used in programming. Each case style has its own use cases and is preferred in different contexts.

Case Styles Explained

camelCase

First word lowercase, subsequent words capitalized with no spaces.

Example: helloWorldExample

Used in: JavaScript, Java, C# variable names

PascalCase

All words capitalized with no spaces (also called UpperCamelCase).

Example: HelloWorldExample

Used in: Class names in most programming languages

snake_case

All lowercase with underscores separating words.

Example: hello_world_example

Used in: Python, Ruby, database column names

kebab-case

All lowercase with hyphens separating words (also called dash-case).

Example: hello-world-example

Used in: URLs, CSS class names, file names

UPPERCASE

All characters in uppercase.

Example: HELLO WORLD EXAMPLE

Used in: Constants, environment variables

lowercase

All characters in lowercase.

Example: hello world example

Title Case

First letter of each word capitalized.

Example: Hello World Example

Used in: Headings, titles

Sentence case

First letter of first word capitalized, rest lowercase.

Example: Hello world example

Used in: Regular sentences, comments

Common Use Cases

Programming Language Conventions

Language Variables Functions Classes
JavaScript camelCase camelCase PascalCase
Python snake_case snake_case PascalCase
Java camelCase camelCase PascalCase
C# camelCase PascalCase PascalCase
Ruby snake_case snake_case PascalCase
PHP camelCase camelCase PascalCase

Features

Related Tools

Share This