Home Productivity Tools Case Converter

Case Converter - 12 Formats, Live Grid, Smart Detection

Convert text between all 12 case formats simultaneously - camelCase, snake_case, kebab-case, PascalCase, SCREAMING_SNAKE, dot.case and more. See every conversion at once. Smart detection tells you what case you already have.

Always Free Live preview grid Bulk mode Developer mode
12 cases · Smart detect · Bulk · Dev mode - all free
All 12 conversions shown at once - no clicking through tabs
Smart detection - identifies your current case automatically
Bulk mode - convert 100 variable names at once
Your text
0 words 0 chars 0 upper 0 lower 0 nums
Detected: -
-
-
Word separator:
All 12 conversions - live
Paste one variable name or phrase per line. All lines are converted simultaneously to your chosen case.
Convert to:
Input - one per line0 lines
Output
Paste a code block. The tool detects all identifiers (variable names, function names, object keys) and converts them to your chosen case. Original code structure, strings, and comments are preserved.
Convert identifiers to:
Input code
Converted code

Recent conversions

Every other case converter
shows one result at a time.

This one shows all 12 simultaneously, detects your current case, suggests the best conversion, and handles bulk variable renaming.

Live preview grid

All 12 case conversions update simultaneously as you type. One click to copy any format - no switching tabs, no clicking 12 buttons.

12 cases at once

Smart detection

Paste any text and the tool identifies whether it's camelCase, snake_case, kebab-case, or plain text - with a confidence score. No other free tool does this.

detects 8 input cases

Bulk mode

Paste 100 variable names, one per line. Choose the target case and all lines convert simultaneously. Copy all output with one click.

100 names at once

Developer mode

Paste a whole code block and convert all identifiers to your chosen case - strings, comments, and code structure are preserved. Nobody else offers this free.

unique to ToolNexIn

Export as JSON

Copy all 12 case variants as a JSON object - perfect for documentation, config files, or pasting into a team Slack channel.

all 12 → one JSON

History + pinning

Your last 10 conversions are saved locally. Pin the ones you want to keep forever - no account, no cloud.

pin your favourites

Convert any text in 2 steps

Works for writers, developers, designers, and anyone who works with text.

1

Paste your text

Type or paste any text - a sentence, a variable name, a URL slug, a heading. The tool detects the current case and updates all 12 conversions instantly.

2

Click Copy on any case

See all 12 variants in the live grid and click Copy on whichever you need. For multiple names, switch to Bulk mode. For code, use Developer mode.

3

Export or share

Export all 12 cases as JSON, download as a .txt file, or share a link so your team sees the same conversion.

All 12 case formats - a developer's reference

Different programming languages, frameworks, and contexts have different naming conventions. Here is every case format supported by this tool, what it looks like, and where you'll use it.

UPPER CASE
HELLO WORLD
Headings, emphasis, design
lower case
hello world
General text, emails
Title Case
Hello World
Headlines, page titles, SEO
Sentence case
Hello world
Regular prose, UI copy
camelCase
helloWorld
JavaScript, Java, Swift vars
PascalCase
HelloWorld
Classes, React components, C#
snake_case
hello_world
Python, Ruby, database columns
SCREAMING_SNAKE
HELLO_WORLD
Constants, env variables
kebab-case
hello-world
CSS classes, URLs, npm packages
dot.case
hello.world
Config keys, Java packages
Train-Case
Hello-World
HTTP headers, Content-Type
aLtErNaTiNg
hElLo WoRlD
Memes, social, fun
Which case should I use? The answer almost always comes from your tech stack. JavaScript variables and functions → camelCase. Python variables → snake_case. CSS classes → kebab-case. Constants in any language → SCREAMING_SNAKE_CASE. React component names → PascalCase. HTTP headers → Train-Case. URL slugs → kebab-case. Database columns → snake_case.

Why consistent naming convention matters

Inconsistent case in a codebase - mixing getUserData with get_user_data and GetUserData - is one of the most common sources of bugs and readability problems. Most linters and style guides enforce a single convention. When working across languages (a Python backend talking to a JavaScript frontend, for example), you often need to convert between conventions at the boundary - which is exactly where this tool helps.

Case conversion questions,
answered.

Everything about naming conventions, when to use each case, and how the tool works.

Ask a question
camelCase writes compound words with no separators, where each word after the first starts with a capital letter: helloWorld, getUserData. It is the standard naming convention in JavaScript, Java, and Swift for variables and functions.
camelCase starts with a lowercase letter: helloWorld. PascalCase (also called UpperCamelCase) starts with an uppercase letter: HelloWorld. PascalCase is standard for class names and React component names; camelCase is standard for variables and functions.
snake_case uses underscores as word separators with all lowercase: hello_world. It is the standard in Python, Ruby, and most database column names. SCREAMING_SNAKE_CASE (all uppercase) is used for constants and environment variables.
kebab-case uses hyphens as separators with all lowercase: hello-world. It is standard for CSS class names, HTML data attributes, URL slugs, and npm package names.
Train-Case capitalises the first letter of each word and uses hyphens as separators: Hello-World. It is used in HTTP headers like Content-Type and Accept-Language.
Yes. Switch to Bulk mode using the tab at the top. Paste one variable name or phrase per line - all lines are converted simultaneously to your chosen target case. Copy all results with one click.
Developer mode lets you paste a whole code block and converts all identifiers - variable names, function names, object keys - to your chosen case. String values, comments, and code structure are preserved. It is the only free tool that offers this.
No. All conversion runs entirely in your browser. Your text never leaves your device. History is stored only in your browser's localStorage and can be cleared at any time.