---
title: "Text Case Converter"
description: "Convert text between 12 cases instantly: lowercase, UPPERCASE, Title Case, camelCase, PascalCase, snake_case, kebab-case, CONSTANT_CASE, dot.case, alternating, inverse and more. Free, browser-only."
url: "https://freshjuice.dev/tools/text-case-converter/"
---
## About text cases

Different programming languages, file formats, and writing styles have different conventions for capitalizing words. Picking the wrong case can break code (constant names mismatched), look unprofessional (mixed headings), or make URLs hard to read.

### Quick reference

-   `lowercase` / `UPPERCASE` — text styling, plain emphasis
-   `Title Case` — book titles, headings, proper names
-   `Sentence case` — natural prose, blog post titles
-   `camelCase` — JavaScript / TypeScript / Java variables & functions
-   `PascalCase` — class names in most OO languages, React component names
-   `snake_case` — Python, Ruby, SQL identifiers
-   `kebab-case` — URLs, CSS classes, HTML attributes, CLI flags
-   `CONSTANT_CASE` — environment variables, language constants
-   `dot.case` — namespacing, configuration keys

## Frequently Asked Questions

### What text cases are supported?

This tool supports lowercase, UPPERCASE, Title Case, Sentence case, camelCase, PascalCase, snake\_case, kebab-case, CONSTANT\_CASE, dot.case, aLtErNaTiNg cAsE, and iNVERSE cASE.

### When should I use camelCase vs snake\_case?

`camelCase` is the convention in JavaScript, Java, and TypeScript. `snake_case` is preferred in Python, Ruby, and SQL. `kebab-case` is used for URLs, CSS classes, and HTML attributes. `PascalCase` is for class names in most languages.

### What's the difference between Title Case and Sentence case?

**Title Case** capitalizes the first letter of each word: `The Quick Brown Fox`. **Sentence case** only capitalizes the first letter of sentences: `The quick brown fox`.

### Is my data secure?

Yes. This tool runs entirely in your browser. Your text is never sent to any server — all processing happens locally on your device.
