ToolChop

Text Case Converter

Paste your text, click a case format — UPPERCASE, lowercase, Title Case, camelCase, snake_case and more. Copy the result in one click.

Case conversion sits at the boundary between writing and code. On the writing side, you constantly need to normalise pasted text: a marketing line copied in ALL CAPS needs to be Title Case for a body paragraph; a headline pasted in Sentence case needs to be flipped to Title Case for the H1; an email subject written casually needs Title Case for the actual send. On the code side, you need to flip identifiers between language conventions: snake_case for Python and database columns, camelCase for JavaScript and Java, PascalCase for class names and TypeScript types, kebab-case for URLs, CSS classes, and CLI flags.

The tool above handles all of those, plus a few less common ones: CONSTANT_CASE for environment variables and config keys, dot.case for nested config paths, Sentence case for normalising HEADLINES YELLED IN CAPS, and alternating case / inverse case for the cases (pun intended) where you actually need those.

Conversion happens client-side — the text never leaves the tab. The result lands in a textarea ready to copy with one click. For more complex text transformations like sorting lines, removing duplicates, or stripping line breaks, see the other text tools in the text tools category.

Case formats explained

Frequently asked questions

How do I convert text to uppercase online?

Paste your text in the box above and click UPPERCASE. Every letter converts to its capital form instantly. Click Copy to copy the result.

How do I change text to lowercase?

Paste your text and click lowercase. All letters become small. Useful for normalizing usernames, fixing accidentally caps-locked text, or formatting URLs.

What is Title Case?

Title Case capitalizes the first letter of every word. It's used for book titles, article headings, product names, and proper nouns. Note that strict Chicago/APA style has exceptions (don't capitalize short prepositions like "in", "of", "the") — this tool applies simple every-word capitalization.

What is camelCase used for?

camelCase is the standard naming convention for variables and functions in JavaScript, TypeScript, Java, and Swift. The first word is lowercase, subsequent words start with a capital. Example: getUserName, calculateTotalPrice.

What is the difference between snake_case and kebab-case?

Both join words with a separator. snake_case uses underscores and is common in Python, Ruby, and SQL. kebab-case uses hyphens and is common in CSS, HTML, and URL slugs. Most programming languages can't use hyphens in variable names, so kebab-case is reserved for non-code contexts.

Can I convert multiple paragraphs at once?

Yes — paste any amount of text. The case conversion applies to all of it at once. The text box is resizable so you can expand it for longer content.

What is snake_case used for?

snake_case joins words with underscores and uses all lowercase letters. It is the standard naming convention for variables and functions in Python, and for column names in SQL databases and PostgreSQL. Example: user_first_name, total_price_usd. It is also common in Ruby and PHP.

What is kebab-case used for?

kebab-case joins words with hyphens and uses all lowercase letters. It is the standard for CSS class names, HTML data attributes, URL slugs, and file names in web projects. Example: main-nav-link, my-page-title. Most programming languages cannot use hyphens in variable names, so kebab-case stays in markup and URLs.

What is PascalCase used for?

PascalCase (also called UpperCamelCase) capitalizes the first letter of every word with no separators. It is the standard for class names in Java, C#, TypeScript, and most object-oriented languages. Example: UserProfile, ShoppingCartItem. React component names must also be PascalCase so React can distinguish them from HTML elements.

What is SCREAMING_SNAKE_CASE used for?

SCREAMING_SNAKE_CASE (also called CONSTANT_CASE or UPPER_SNAKE_CASE) uses all uppercase letters joined by underscores. It is the universal convention for constants and environment variables across nearly all languages. Example: MAX_RETRY_COUNT, DATABASE_URL, API_SECRET_KEY. This tool's "CONSTANT_CASE" button converts to this format.

How do I change text case in Word?

Select your text, then press Shift+F3 to cycle through Sentence case → UPPERCASE → lowercase. You can also go to Home → Font group → Change Case (Aa button) to pick a specific format including Title Case. For camelCase, snake_case, or kebab-case, paste the text here — Word does not support those formats natively.

How do I change text case in Google Docs?

Select your text, then go to Format → Text → Capitalization and choose lowercase, UPPERCASE, or Title Case. Google Docs does not support camelCase, snake_case, or kebab-case natively — use this tool for those conversions, then paste the result back into your document.

How do I change text case in Excel?

Excel provides three worksheet functions: =UPPER(A1) converts to UPPERCASE, =LOWER(A1) converts to lowercase, and =PROPER(A1) converts to Title Case (first letter of each word capitalized). Place the formula in an adjacent cell, then copy-paste-as-values to replace the original. For camelCase or snake_case, use this tool instead.

Runs in your browser Free forever No signup required Files never uploaded
Advertisement

More free tools