Text Case Converter

Convert text between camelCase, PascalCase, snake_case, SCREAMING_SNAKE_CASE, kebab-case, Title Case, Sentence case, and Alternating Case instantly. Live preview, one-click copy. Free, works entirely in your browser.

Did we solve your problem today?

What Is a Text Case Converter?

A Text Case Converter transforms text between different capitalization styles — camelCase, PascalCase, snake_case, SCREAMING_SNAKE_CASE, kebab-case, Title Case, Sentence case, and more. All conversions happen instantly in your browser. No server, no upload, no data leaving your device.

Supported Case Formats

FormatExampleCommon Use
camelCasehelloWorldFooJavaScript variables, JSON keys, APIs
PascalCaseHelloWorldFooClasses, React components, C# types
snake_casehello_world_fooPython, Ruby, database columns
SCREAMING_SNAKE_CASEHELLO_WORLD_FOOConstants, environment variables
kebab-casehello-world-fooCSS classes, URL slugs, HTML attributes
UPPER CASEHELLO WORLD FOOHeadings, labels, abbreviations
lower casehello world fooPlain text normalization
Title CaseHello World FooBook titles, headings, UI labels
Sentence caseHello world fooSentences, descriptions
Alternating casehElLo wOrLdMemes, emphasis, sarcasm

How to Use

  1. Type or paste any text into the input field — any format works
  2. All 10 case variants appear instantly below
  3. Click Copy next to any variant to copy it to your clipboard

Smart Word Splitting

The converter automatically detects word boundaries across all common formats:

This means you can paste any existing variable name and get all formats without manual editing.

camelCase

camelCase starts with a lowercase letter and capitalizes the first letter of each subsequent word. It is the dominant convention for variables and function names in JavaScript, TypeScript, Java, and Swift. Example: getUserById, isAuthenticated, maxRetryCount.

PascalCase

PascalCase (also called UpperCamelCase) capitalizes the first letter of every word. It is the standard for class names, React components, and TypeScript interfaces. Example: UserProfile, HttpRequest, ApiResponse.

snake_case

snake_case uses underscores to separate words, all lowercase. It is the idiomatic style in Python and Ruby, and the preferred convention for database column names in SQL. Example: user_id, created_at, max_retry_count.

SCREAMING_SNAKE_CASE

SCREAMING_SNAKE_CASE is snake_case with all letters uppercased. It conventionally marks constants and environment variables across many languages and shell environments. Example: DATABASE_URL, MAX_CONNECTIONS, API_BASE_URL.

kebab-case

kebab-case separates words with hyphens, all lowercase. It is the standard for CSS class names, URL path segments, and HTML custom attributes. Example: font-size, user-profile, data-testid.

Title Case

Title Case capitalizes the first letter of every word. It is used for book titles, article headings, product names, and button labels. Example: The Quick Brown Fox, Get Started Today.

Sentence Case

Sentence case capitalizes only the first word of the text, leaving the rest lowercase — the natural style for sentences, descriptions, and tooltip text. Example: The quick brown fox.

Privacy

All case conversions run locally in your browser using pure JavaScript string operations. No text is ever sent to a server.

FAQ

What case formats does this tool support?

The tool converts between 10 formats: camelCase, PascalCase, snake_case, SCREAMING_SNAKE_CASE, kebab-case, UPPER CASE, lower case, Title Case, Sentence case, and Alternating case.

Does it understand existing camelCase or snake_case input?

Yes. The converter auto-detects word boundaries in camelCase, PascalCase, snake_case, kebab-case, and space-separated text. For example, helloWorld, hello_world, hello-world, and "hello world" all produce the same tokens and identical outputs.

What happens to numbers and special characters?

Numbers are kept as part of the word tokens (e.g. "version2Api" in camelCase). For code-style outputs (camelCase, snake_case, kebab-case, PascalCase) special characters like punctuation are stripped. For simple case outputs (UPPER CASE, Title Case, etc.) the original characters are preserved.

Is my text sent to a server?

No. All conversions are computed locally in your browser using pure JavaScript. No text is ever sent to a server, stored, or logged.