# Case Converter

> Convert text between uppercase, lowercase, title case, sentence case, camelCase, snake_case, and kebab-case instantly.

- Open the tool: https://overtooled.com/case-converter
- Category: Text Tools
- Privacy: Runs entirely in your browser. Nothing is uploaded, no account is needed, and it works offline once loaded.
- Price: free, no sign-up
- Keywords: uppercase, lowercase, title, camel, snake, kebab, case

## In short

Convert text to uppercase, lowercase, title case, camelCase, and more.

## Overview

Converts text between 11 letter-case styles, including programming styles such as camelCase and snake_case. The result updates live as you type or pick a style. Use it to fix capitalization or rename identifiers for a different coding convention.

## Features

- UPPERCASE and lowercase
- Title Case: first letter of each word uppercase and the rest lowercase, in any script (every word, including small words like "of"; hyphenated parts are capitalized too)
- Sentence case: lowercases everything, then capitalizes the first letter of the text and the first letter after . ! or ?
- camelCase, PascalCase, snake_case and kebab-case: text is split into words at spaces, punctuation and case humps (XMLHttpRequest -> xml_http_request), apostrophes inside words are dropped, and each line is converted separately so a list of names stays a list
- tOGGLE cASE: swaps the case of every letter
- Two alternating styles: AlTeRnAtInG (starts uppercase) and aLtErNaTiNg (starts lowercase), counting letters only
- Copy and pipeline buttons on the result; Clear button on the input

## How to use it

1. Type or paste text in the Input box.
2. Click a case style button (UPPERCASE is selected by default).
3. Copy the converted text from the Result box.

## Inputs

- Any text

## Outputs

- Converted text, with copy button

## Limits and notes

- camelCase, PascalCase, snake_case and kebab-case keep letters (any script) and digits; punctuation and symbols are removed.
- Title Case lowercases the rest of each word, so acronyms like "NASA" become "Nasa".
- There is no CONSTANT_CASE option (use snake_case and then UPPERCASE).
- Text is not saved and nothing is uploaded.

## Questions and answers

### How does the Case Converter work?

Each style is a small function applied to your text as you type. UPPERCASE and lowercase use toUpperCase() and toLowerCase(). Title Case capitalizes the first letter of every word, and Sentence case capitalizes the first letter after . ! or ?. camelCase and PascalCase remove runs of non-alphanumeric characters and capitalize the next letter. snake_case and kebab-case split at lower-to-upper case changes, replace non-alphanumeric runs with _ or -, and lowercase. Toggle and alternating styles flip letters one by one.

### What case styles are supported?

Eleven: UPPERCASE, lowercase, Title Case, Sentence case, camelCase, PascalCase, snake_case, kebab-case, tOGGLE cASE, and two alternating styles (AlTeRnAtInG and aLtErNaTiNg). Click any style and the text converts instantly.

### What is the difference between camelCase and PascalCase?

camelCase starts with a lowercase letter (myVariableName), while PascalCase starts with an uppercase letter (MyClassName). Both are commonly used in programming for naming variables, functions, and classes.

### Does it preserve line breaks and formatting?

For UPPERCASE, lowercase, Title Case, Sentence case, toggle and alternating styles, yes: only letter case changes. camelCase, PascalCase, snake_case and kebab-case are meant for identifiers: each line becomes one name, with spaces and punctuation removed and letters of any script kept.

## Related tools

- [Alt Code / Special Character Builder](https://overtooled.com/alt-code.md): Browse, search, and build strings from special characters and their Alt codes
- [Bibliography / Citation Helper](https://overtooled.com/bibliography-helper.md): Generate MLA, APA, and Chicago style citations for books, articles, and websites
- [Copy & Paste Fonts](https://overtooled.com/copy-paste-fonts.md): Turn text into bold, italic, cursive, gothic, bubble and other Unicode styles to copy and paste
- [Emoji Picker](https://overtooled.com/emoji-picker.md): Search and copy emojis to clipboard with one click

---
Overtooled: 179 free tools that run in your browser. Index of all tools: https://overtooled.com/llms.txt
