Case Converter

Client-sideNo sign-upFree

Convert text into UPPERCASE, lowercase, Title Case, camelCase, snake_case, kebab-case, and CONSTANT_CASE at once.

How this tool works

1

Type or paste your text

A phrase, a variable name, or a full sentence - any casing style works as input.

2

Word boundaries are detected

Spaces, hyphens, underscores, and camelCase humps are all recognized automatically.

3

See all seven cases at once

UPPERCASE, lowercase, Title Case, camelCase, snake_case, kebab-case, and CONSTANT_CASE appear together.

4

Copy the one you need

Each result has its own copy button - grab exactly the variant your code or style guide requires.

Quick facts

Category
Text Tools
Best for
Renaming a variable to match a language's naming convention
Input text
✓ Converted below
UPPERCASE
THE QUICK BROWN FOX JUMPS OVER THE LAZY DOG
lowercase
the quick brown fox jumps over the lazy dog
Title Case
The Quick Brown Fox Jumps Over The Lazy Dog
camelCase
theQuickBrownFoxJumpsOverTheLazyDog
snake_case
the_quick_brown_fox_jumps_over_the_lazy_dog
kebab-case
the-quick-brown-fox-jumps-over-the-lazy-dog
CONSTANT_CASE
THE_QUICK_BROWN_FOX_JUMPS_OVER_THE_LAZY_DOG
In-content slot

About this tool

Type or paste any text to see it instantly converted into seven common casing styles at the same time - UPPERCASE, lowercase, Title Case, camelCase, snake_case, kebab-case, and CONSTANT_CASE - each with its own copy button so you can grab exactly the variant you need without re-running the conversion. Word boundaries are detected from spaces, hyphens, underscores, and existing camelCase humps, so pasting in an already-cased identifier (like an existing variable name) still splits and re-cases correctly instead of treating the whole string as one word. Handy for renaming variables and constants to match a language’s conventions, converting a page title into a URL slug, or reformatting a heading for different style guides. Runs entirely client-side.

Why use this tool

Seven formats simultaneously

No need to run text through separate tools for each casing style - every variant shows at once.

Smart word detection

Correctly splits an existing camelCase or snake_case identifier back into words before re-casing it.

Matches real language conventions

Covers the exact casing styles used by variable, constant, and URL/class-name conventions across languages.

One field, instant results

Type once and see every format update together, with no per-format button presses.

Frequently asked questions

Before converting to any target style, the input is first split back into individual lowercase words by looking for spaces, hyphens, underscores, and the lowercase-to-uppercase transitions that mark camelCase humps (like the boundary between "my" and "Variable" in "myVariable"). That normalization step is what lets you paste in an existing identifier in any casing and get correct output in all seven styles, rather than just re-casing the string as a single word.

That depends on the language and style guide you’re following - camelCase is the convention for variables and functions in JavaScript, Java, and many C-family languages, snake_case is standard for Python variables and functions, kebab-case is common in URLs and CSS class names, and CONSTANT_CASE (all-caps with underscores) is the near-universal convention for constants across most languages.

Explore more free tools

Formatters, converters, validators, and generators - all free and running entirely in your browser.

Browse more tools