🔠 Case Converter

Transform text between different case formats instantly. Paste your text below and click any format button: UPPER CASE for headings, Title Case for headlines, camelCase for programming variables, snake_case for database columns, and more. The converted text copies to your clipboard with one click.

Last updated: June 2026

Convert Text Case — 7 Formats Available

Instantly convert text between UPPER CASE, lower case, Title Case, Sentence case, camelCase, snake_case, and kebab-case. Paste your text, click the format you need, and copy the result.

Available Formats

UPPER CASE — Converts all letters to uppercase. Used for headings, acronyms, and emphasis. lower case — Converts all letters to lowercase. Useful for normalizing data and email addresses. Title Case — Capitalizes the first letter of each word. Standard for headlines, book titles, and headings. Sentence case — Capitalizes only the first letter of each sentence. Used for body text and descriptions. camelCase — No spaces, each word after the first is capitalized. Standard in JavaScript, Java, and many programming languages. snake_case — Words separated by underscores, all lowercase. Common in Python, Ruby, and database naming. kebab-case — Words separated by hyphens, all lowercase. Used in URLs, CSS class names, and file naming.

Case Types Reference

Case TypeExampleUsed In
UPPER CASEHELLO WORLDHeadings, acronyms, constants, emphasis
lower casehello worldEmail addresses, URLs, data normalization
Title CaseHello WorldHeadlines, book titles, article headings
Sentence caseHello worldBody text, descriptions, paragraphs
camelCasehelloWorldJavaScript, Java, TypeScript variables
PascalCaseHelloWorldC# classes, React components, type names
snake_casehello_worldPython, Ruby, database columns, APIs
kebab-casehello-worldURLs, CSS classes, HTML attributes, filenames
CONSTANT_CASEHELLO_WORLDConstants in most programming languages

Naming Conventions in Programming

Different programming languages and frameworks have strong conventions about which case style to use, and using the wrong one can make your code harder for others to read. In JavaScript and TypeScript, variables and functions use camelCase (getUserName, isActive), while classes and React components use PascalCase (UserProfile, HttpClient). Python follows snake_case for variables, functions, and module names (get_user_name, is_active), with PascalCase reserved for class names. CSS uses kebab-case for class names and properties (main-container, font-size). Constants across most languages use CONSTANT_CASE (MAX_RETRIES, API_BASE_URL). Following these conventions is not just about aesthetics — many linters and code review tools flag inconsistent casing as errors, and consistent naming helps teams navigate large codebases faster.

Title Case Rules

Title case seems simple — capitalize every word — but style guides disagree on the details. The AP (Associated Press) style capitalizes all words of four or more letters, while short words like "a," "an," "the," "in," "of," "for," and "and" stay lowercase unless they are the first or last word. The Chicago Manual of Style follows similar rules but capitalizes prepositions of five or more letters ("Between" but not "from"). APA style capitalizes all words of four or more letters, similar to AP. In practice, most online content uses a simplified version: capitalize every word except short articles and prepositions. Headlines in publications like The New York Times and The Washington Post follow AP style. When in doubt, consistency within a single document matters more than following any specific style guide perfectly.

When Case Matters

Case sensitivity varies across computing contexts, and getting it wrong can cause hard-to-debug errors. URLs are technically case-sensitive after the domain name — /About and /about may load different pages on some servers, leading to duplicate content issues for SEO. File names are case-sensitive on Linux and macOS (except the default macOS file system) but case-insensitive on Windows, which causes "it works on my machine" bugs when code moves between operating systems. Database queries vary: MySQL on Windows is case-insensitive for table names by default, while PostgreSQL treats identifiers as case-sensitive when quoted. Passwords are always case-sensitive. Email addresses have case-insensitive local parts by convention, but the RFC technically allows case sensitivity — in practice, all major email providers treat "User@gmail.com" and "user@gmail.com" as identical.

Frequently Asked Questions

Does the Title Case conversion handle articles and prepositions correctly?

Our Title Case conversion capitalizes every word. In formal title casing, short words like "the," "in," "of," and "and" are typically left lowercase unless they begin the title. For formal publishing, you may want to manually adjust these words after converting.