Case Converter
Convert text between all common cases: UPPERCASE, lowercase, Title Case, Sentence case, camelCase, PascalCase, snake_case, kebab-case, SCREAMING_SNAKE_CASE, alternating case, and inverse case.
Converted Text
—
Characters —
Words —
Extended More scenarios, charts & detailed breakdown ▾
UPPERCASE
—
lowercase —
Title Case —
Sentence case —
Professional Full parameters & maximum detail ▾
Natural Language Cases
UPPERCASE —
lowercase —
Title Case —
Sentence case —
Programming Cases
camelCase —
PascalCase —
snake_case —
kebab-case —
SCREAMING_SNAKE_CASE —
Input Stats
Characters / Words —
How to Use This Calculator
- Type or paste your text into Input Text.
- Select the Target Case from the dropdown.
- The converted text appears instantly in the result.
- Use the Programming Cases tab to see all programming formats at once — camelCase, PascalCase, snake_case, kebab-case, and SCREAMING_SNAKE_CASE side by side.
Formula
Title Case: Capitalize all words except minor words (a, an, the, and, but, or, for, at, by, in, of, on, to) unless first or last.
camelCase: Remove spaces, lowercase first word, uppercase each subsequent word's first letter.
snake_case: Replace spaces and non-alphanumeric chars with underscores, lowercase all.
Example
Input: "the quick brown fox" → Title Case: "The Quick Brown Fox" | camelCase: "theQuickBrownFox" | snake_case: "the_quick_brown_fox" | SCREAMING_SNAKE_CASE: "THE_QUICK_BROWN_FOX"
Frequently Asked Questions
- camelCase starts with a lowercase letter (e.g., myVariableName) while PascalCase starts with an uppercase letter (e.g., MyClassName). camelCase is used for variables and functions in JavaScript, Java, and Swift. PascalCase is used for class names and constructors.
- snake_case (underscores) is the standard for Python variables, database column names, and Ruby. kebab-case (hyphens) is used for CSS class names, HTML attributes, and URL slugs. Neither is universally right — follow the convention of your language or framework.
- AP style capitalizes the first word, last word, and all "major" words (nouns, verbs, adjectives, adverbs). Minor words of fewer than 4 letters are lowercase unless they are the first or last word. Minor words include: a, an, the, and, but, or, for, nor, at, by, in, of, on, to, up, as, if.
- SCREAMING_SNAKE_CASE (all caps + underscores) is used for constants in many languages, including Python (MAX_RETRIES), JavaScript (API_BASE_URL), and Java (BUFFER_SIZE). It signals that a value should not be changed at runtime.
- Alternating case (aLtErNaTiNg) is an internet meme format used to express sarcasm or mock statements. Each character alternates between lowercase and uppercase. It became popular from the "mocking SpongeBob" meme around 2017.
Related Calculators
Sources & References (5) ▾
- AP Stylebook — Capitalization Rules — Associated Press
- Chicago Manual of Style — Titles — University of Chicago Press
- Microsoft Writing Style Guide — Microsoft
- PEP 8 — Style Guide for Python Code — Python Software Foundation
- MDN — String.prototype methods — Mozilla