ESC

Case Converter

Click a conversion button below to transform your text

Case Types

UPPERCASE

ALL LETTERS BECOME UPPERCASE

lowercase

all letters become lowercase

Title Case

First Letter Of Each Word Is Capitalized

camelCase

firstWordLowerThenCapitalized (for variables)

snake_case

words_separated_by_underscores

kebab-case

words-separated-by-hyphens (for CSS/URLs)

All processing happens in your browser. No data is sent to any server.

Usage Examples

Variable Naming

Convert text to camelCase, PascalCase, or snake_case for programming variable and function names.

Title Formatting

Convert text to Title Case for blog post titles, article headings, and document titles.

CSS Class Naming

Convert text to kebab-case for CSS class names or CONSTANT_CASE for configuration constants.

Features

9 Case Types

UPPERCASE, lowercase, Title Case, Sentence case, camelCase, PascalCase, snake_case, kebab-case, CONSTANT_CASE

Instant Conversion

Text is converted instantly when you click a conversion button

One-Click Copy

Copy the converted result to your clipboard with a single click

Privacy First

All processing happens locally in your browser, no data sent to servers

How to Use?

1

Enter Text

Type or paste your text into the input field.

2

Choose Case Type

Click one of the 9 conversion buttons to transform your text to the desired case format.

3

Copy Result

Click the Copy button to copy the converted text to your clipboard.

Frequently Asked Questions

UPPERCASE: ALL LETTERS CAPITALS. lowercase: all small. Title Case: First Letter Of Each Word Capitalized. Sentence case: Only the first word capitalized. camelCase: firstWordLowerThenCapitalized. PascalCase: FirstLetterOfEveryWordCapitalized. snake_case: words_joined_by_underscores. kebab-case: words-joined-by-hyphens. CONSTANT_CASE: ALL_CAPS_WITH_UNDERSCORES.

camelCase starts with a lowercase letter (myVariable, getUserName), PascalCase starts with an uppercase letter (MyVariable, GetUserName). camelCase is the JavaScript convention for variables and functions; PascalCase is used for class names in most languages and for React component names.

snake_case (underscores) is the standard in Python for variables, functions, and file names, and in Ruby and SQL. kebab-case (hyphens) is used for CSS class names (btn-primary), HTML attributes, and URL slugs (/how-to-use). Hyphens are not valid in most programming language identifiers, so kebab-case cannot be used for variable names in code.

CONSTANT_CASE uses all uppercase letters with underscores between words. It is the convention for constants and environment variables in most programming languages: MAX_RETRIES, API_BASE_URL, DATABASE_HOST. The uppercase signals that the value should not be changed at runtime.

Title Case capitalizes the First Letter Of Every Word. Sentence case only capitalizes the first word of the entire text (like a normal English sentence). Title Case is used for article headings and book titles; Sentence case is used for blog subtitles, UI labels, and button text in many style guides.

Numbers and punctuation are preserved in all formats. For camelCase, snake_case, and kebab-case, special characters and spaces are used as word boundaries and then stripped from the output. For example, "hello world 2024!" converts to helloWorld2024 in camelCase.

Yes. Paste any amount of text and click the conversion button. The tool processes the entire input in one step. For developer formats (camelCase, snake_case, etc.) the entire input is treated as one identifier, so they work best on short phrases or variable names rather than multi-sentence blocks.

No. All conversions run entirely in your browser with JavaScript. Nothing is sent to any server — paste passwords, API keys, or any sensitive text and it stays on your machine.

What is Case Converter?

A free tool that converts text between 9 different case formats: UPPERCASE, lowercase, Title Case, Sentence case, camelCase, PascalCase, snake_case, kebab-case, and CONSTANT_CASE. Paste your text, click the format you need, copy the result. It runs entirely in your browser.

Built for Developers

If you write code, you constantly switch between naming conventions. A variable name in JavaScript is camelCase, a Python function is snake_case, a CSS class is kebab-case, a React component is PascalCase. Instead of manually retyping, just paste and click. It handles the conversion logic for you, including stripping spaces and special characters.

For Writers and Content Creators

Need to format a headline in Title Case? Want to convert all-caps text to something readable? This tool handles everyday text formatting tasks too. Title Case, Sentence case, uppercase, lowercase -- all the basics writers need when preparing content for blogs, newsletters, or social media.

All 9 Case Formats Explained

UPPERCASE makes everything caps. lowercase makes everything small. Title Case capitalizes each word. Sentence case capitalizes only the first word. camelCase joins words with no separator, first word lowercase. PascalCase is the same but first word capitalized too. snake_case uses underscores. kebab-case uses hyphens. CONSTANT_CASE is uppercase with underscores.

Privacy

Your text stays on your device. No server calls, no storage, no logging. The tool is pure client-side JavaScript, so feel free to paste anything -- code snippets, passwords, whatever you need to convert.

Security and Privacy

Your data security is our priority

Local Processing

All processing happens in your browser

No Data Transfer

Your data is not sent to our servers

No Data Storage

No data is stored or shared

SSL Encryption

SSL encryption for secure connection

Next Step

Also on MoreOnlineTools