What is this calculator for?
You wrote a 500-word draft in all caps by mistake. Or you need to convert a list of names from "JOHN SMITH" to "John Smith" for a database. Or you're applying snake_case to a JavaScript codebase. The case converter transforms text between UPPERCASE, lowercase, Title Case, Sentence case, camelCase, snake_case, kebab-case, and other common conventions.
Case conventions in computing and writing. UPPERCASE: typically used for shouting in informal writing, headings in older styles, environment variables, constants in some languages. lowercase: most prose, URL slugs, file names in Unix. Title Case (also called Headline Case): capitalize each major word; used for titles, headings. Sentence case: capitalize first word and proper nouns only; most prose. camelCase: combinedWordsLikeThis; common in JavaScript and Java identifiers. PascalCase: SimilarToCamelCaseButFirstLetterCapitalized; class names. snake_case: words_with_underscores; common in Python and Ruby. kebab-case: words-with-hyphens; common in CSS and URL slugs. CONSTANT_CASE: uppercase with underscores; programming constants and environment variables.
This converter handles all transformations. Useful for text editing, programming, database cleaning, and writing.
How to use this calculator
Paste text into the input field. Pick the target case: UPPERCASE, lowercase, Title Case, Sentence case, camelCase, PascalCase, snake_case, kebab-case, CONSTANT_CASE. The converter transforms the text and outputs the result.
For mixed-case input: the converter handles arbitrary input ("hELLO wORLD" β "Hello World" for Title Case).
For programming identifier conversion: convert variables across languages. JavaScript "userFirstName" β Python "user_first_name" β CSS "user-first-name" β constant "USER_FIRST_NAME". Useful when porting code or generating identifiers consistently.
Understanding your results
The converter outputs your text in the target case. Common conversion behaviors:
UPPERCASE: every letter becomes capital. "hello world" β "HELLO WORLD".
lowercase: every letter becomes lowercase. "HELLO WORLD" β "hello world".
Title Case: first letter of each major word capitalized; articles and short prepositions typically lowercase ("and", "or", "the", "in"). "the great gatsby" β "The Great Gatsby". Some style guides differ on specifics β Chicago Manual of Style vs AP differ slightly.
Sentence case: capitalize first letter of sentence and proper nouns. "the quick brown fox" β "The quick brown fox". The most common case for prose.
camelCase: combinedWordsWithoutSpaces with first letter lowercase. "user first name" β "userFirstName".
PascalCase: SameAsCamelButFirstLetterCapitalized. "user first name" β "UserFirstName".
snake_case: words_separated_by_underscores in lowercase. "user first name" β "user_first_name".
kebab-case: words-separated-by-hyphens in lowercase. "user first name" β "user-first-name".
Title case style differences. Chicago Manual: capitalize first and last word, all major words including prepositions of 4+ letters. AP Style: capitalize prepositions of 4+ letters; lowercase most others. APA: simpler β capitalize first word and all words of 4+ letters in titles. The differences are minor but matter in formal publishing. For most writing, Sentence case or simple Title Case (capitalize all words) is fine.
Programming identifier conventions. JavaScript: camelCase for variables and functions, PascalCase for classes. Python: snake_case for variables and functions, PascalCase for classes. Java: camelCase for variables/methods, PascalCase for classes. CSS: kebab-case for classes and IDs. SQL: typically lowercase with underscores for column names, though varies. URL slugs: kebab-case (search-engine-friendly). Mixing conventions within a project is the cardinal sin of code style; pick one and stick with it.
A worked example
Lin is migrating a Python codebase to JavaScript. She needs to convert hundreds of snake_case identifiers to camelCase.
Sample Python: get_user_profile, parse_request_body, handle_form_submission. Target JavaScript: getUserProfile, parseRequestBody, handleFormSubmission.
She pastes the snake_case list into the case converter, selects camelCase output. The tool transforms all identifiers consistently. She copies the results into a search-and-replace operation in her IDE.
For 200+ identifiers, this saves about 30-40 minutes of manual case conversion. The mechanical transformation is exact and error-free β no risk of typos that would create subtle bugs.
Variation: Maria is editing a list of book titles for a website. The data came as: THE GREAT GATSBY, to kill a mockingbird, One Hundred Years of Solitude β inconsistent casing. She wants all in Title Case.
She pastes all 50 titles, selects Title Case output. The converter normalizes everything: The Great Gatsby, To Kill a Mockingbird, One Hundred Years of Solitude. Caveat: it doesn't perfectly handle all style nuances (e.g., "of" in "One Hundred Years of Solitude" β the converter may leave it lowercase per AP style or capitalize it per Chicago style). She reviews the output for the few titles where her preference differs from the converter's default, manually adjusts. Final result: 95% automated, 5% manual touch-up. Total time for 50 titles: 10 minutes vs 40+ minutes manual.
Related resources
For text length analysis, see Word Counter and Character Counter. For other text transformation tools, the Lorem Ipsum Generator and Regex Tester. For URL-specific case considerations (slugs use kebab-case), the URL Encoder. Major style guides (Chicago Manual, AP Stylebook, APA) publish detailed rules on title case conventions; their actual reference works are authoritative for formal publishing.