Case Converter — Text, Sentences & Variable Names

Paste any text — a single word, a sentence, or a full paragraph — pick a case style, and convert instantly. Supports UPPERCASE, lowercase, Title Case, and Sentence case for prose, plus camelCase, snake_case, kebab-case, PascalCase and more for variable names and identifiers.

✓ 100% Client-Side ✓ Works on Paragraphs & Essays ✓ Preserves Punctuation ✓ 12 Case Styles ✓ Free Forever
Case Converter
Paste text, choose a case, click Convert
0 characters
Result
Tap copy when it's ready
+ Batch mode — convert a list of identifiers at once
Batch Convert
One identifier per line — best for short names, not paragraphs
Results will appear here as a table

Why Convert Text or Variable Case?

  • Fix inconsistent capitalization – normalise a paragraph or title that was typed in all caps, or clean up pasted text with mixed case.
  • Prepare content for publishing – convert an essay or article title to proper Title Case for blogs, news, or academic work.
  • Rename code identifiers – switch database columns or API fields between snake_case and camelCase instantly.
  • Create URL slugs and CSS classes – generate kebab-case strings from any text for clean, readable web addresses or style names.
  • Document constants – turn SCREAMING_SNAKE_CASE constants into human‑readable text for internal documentation.

How to Convert Text Case — 3 Simple Steps

1 Paste your text – a single word, a sentence, or a full paragraph – into the input area.
2 Select the target case – choose from prose‑friendly styles (UPPERCASE, lowercase, Title Case, Sentence case) or identifier styles (camelCase, snake_case, kebab-case, PascalCase, CONSTANT_CASE).
3 Click Convert – the result appears instantly. Tap Copy to use it in your document, code, or website. For batch conversions, open Batch Mode below the main tool.

The converter intelligently preserves punctuation and spacing for prose styles, and uses smart word‑boundary detection for identifier styles – even when converting from an existing camelCase or PascalCase string.

Features of This Case Converter

  • ✅ Works correctly on single words, full sentences, and multi‑paragraph text
  • ✅ Preserves punctuation and spacing for UPPERCASE, lowercase, Title Case, and Sentence case
  • ✅ Smart word‑boundary detection for camelCase, snake_case, kebab‑case, PascalCase, and more
  • ✅ Batch mode for converting a list of short identifiers at once
  • ✅ One‑tap copy, built for mobile as much as desktop
  • ✅ 100% browser‑based – nothing is uploaded to any server

Why This Case Converter Stands Out

Many case converters apply the same logic regardless of input, which means pasting a paragraph into a tool built for variable names can quietly strip your punctuation. This one separates the two: prose styles (UPPERCASE, lowercase, Title Case, Sentence case) preserve your original punctuation and spacing exactly, while identifier styles (camelCase, snake_case, kebab‑case, and friends) use word‑boundary detection so converting from an existing camelCase or PascalCase name works correctly too.

Additionally, the batch mode lets you process a list of identifiers in one go – perfect for renaming multiple variables, columns, or file names consistently.

Privacy & Security

  • 🔒 All conversion happens locally in your browser
  • 🚫 Nothing you type or paste is uploaded to a server
  • 🕵️ No tracking, no logs, no third‑party scripts
  • 💼 Safe for internal documents, field names, or proprietary text

Quick Reference – Case Styles & When to Use Them

Style Example Common Use
UPPERCASE HELLO WORLD Headlines, emphasis, acronyms
lowercase hello world General body text, URLs, filenames
Title Case Hello World Article titles, book chapters, headings
Sentence case Hello world Normal prose, emails, paragraphs
camelCase helloWorld JavaScript variables, function names, React props
PascalCase HelloWorld Class names, TypeScript interfaces, C# types
snake_case hello_world Python variables, database columns, Ruby
kebab‑case hello-world URL slugs, CSS classes, CLI flags
CONSTANT_CASE HELLO_WORLD Constants, environment variables, C‑style enums

* All styles are supported with our smart detection – simply paste your text and choose the target case.

Real‑World Examples

📝 Publishing a Blog Post

You’ve written a draft in all caps. Use Title Case to convert "WHY CASE MATTERS""Why Case Matters" in one click, preserving any punctuation like question marks.

💻 Renaming API Fields

Your backend uses snake_case (user_id, created_at). Convert to camelCase (userId, createdAt) for your JavaScript frontend in seconds.

🌐 Creating URL Slugs

Turn the title "How to Convert Text Case" into a clean URL slug: how-to-convert-text-case using kebab‑case.

Case Converter — Frequently Asked Questions

1. Can I convert a full paragraph or essay, not just a single word?
Yes. UPPERCASE, lowercase, Title Case, and Sentence case all work on full paragraphs and preserve your original punctuation and line spacing. The identifier styles like camelCase and snake_case are intended for short names, not long passages.
2. Will converting to Sentence case or Title Case remove my punctuation?
No, punctuation and spacing are preserved exactly. Only the letter casing changes — periods, commas, and question marks stay where they were.
3. What's the difference between camelCase and PascalCase?
Both join words with no separator and capitalize each word boundary. camelCase starts lowercase (userProfile), while PascalCase starts uppercase (UserProfile). camelCase is typically used for variables, PascalCase for class or type names.
4. How do I convert camelCase to snake_case?
Paste the camelCase text, select snake_case from the dropdown, and click Convert. The tool detects the word boundaries inside camelCase input automatically.
5. What is kebab‑case used for?
Kebab‑case (words separated by hyphens, e.g. user-profile-settings) is commonly used for URL slugs, CSS class names, and command‑line flags.
6. What is CONSTANT_CASE or SCREAMING_SNAKE_CASE?
CONSTANT_CASE, also called SCREAMING_SNAKE_CASE, is uppercase text with words separated by underscores (e.g. MAX_RETRY_COUNT), the standard convention for naming constants in most programming languages.
7. Can I convert a whole list of identifiers at once?
Yes — open Batch mode below the main converter, paste one identifier per line, choose a target case, and click Convert All to get every line converted in a results table.
8. Does this work well on mobile?
Yes. The layout is a single stacked column with large tap targets, designed to work the same way on a phone as on desktop, including pasting and converting long text.
9. Is this case converter free to use online?
Yes, completely free, with no signup, no limits, and no watermarks on the output.
10. Is my data uploaded anywhere when I use this tool?
No. All conversion runs locally in your browser using JavaScript — nothing you type or paste is sent to a server.