Free Text Case Converter

Convert between 13 cases in one click — UPPERCASE, Title Case, camelCase, snake_case, kebab-case, and more.

🔒 Private. All conversion happens in your browser.

Result

What this case converter does

This free online case converter transforms your text between 13 different capitalization styles instantly. Whether you need Title Case for a headline, camelCase for a JavaScript variable, snake_case for a Python function, kebab-case for a URL slug, or SCREAMING_SNAKE for a constant, everything happens in one click. No sign-up, no server upload, no character limit — just paste text, click a style button, and copy the result.

How to use the case converter

  1. Paste or type your text into the input box at the top.
  2. Click any case button — the converted output appears in the box below, and the button highlights to show which style you’re viewing.
  3. Edit the input anytime — the output updates automatically to match the currently selected case.
  4. Click 📋 Copy to send the result to your clipboard.

The 13 cases explained with examples

Case nameExampleBest used for
UPPERCASEHELLO WORLDHeaders, warnings, acronyms, legal disclaimers
lowercasehello worldURL slugs, email addresses, hashtags, code identifiers
Title CaseHello WorldArticle headlines, book titles, product names, movie titles
Sentence caseHello worldBody copy, blog posts, natural prose
camelCasehelloWorldJavaScript, Java, Swift, C# variable and function names
PascalCaseHelloWorldClass names in most languages, React components, C# types
snake_casehello_worldPython, Ruby, Rust variables and functions; SQL columns
CONSTANT_CASEHELLO_WORLDConstants and environment variables
kebab-casehello-worldURL slugs, CSS class names, HTML attributes
dot.casehello.worldNamespaces, package names, config file keys
aLtErNaTiNghElLo WoRlDMeme text (SpongeBob sarcasm), stylized social posts
InVeRsE cAsEhELLO wORLDFlipping existing capitalization
Reversedlrow ollehPuzzles, RTL testing, text obfuscation

Programming case conventions by language

Every programming language has strong conventions about which cases to use where. Following them makes your code instantly readable to other developers and often satisfies automatic linters.

JavaScript, TypeScript, Java, Swift

Use camelCase for variables, functions, methods, and properties. PascalCase for class names, interfaces, types, and React components. SCREAMING_SNAKE_CASE for module-level constants.

Python, Ruby, Rust, Elixir

Use snake_case for variables, functions, methods, module names, and file names. PascalCase for classes. SCREAMING_SNAKE_CASE for constants.

Go

Use camelCase for unexported (package-private) identifiers and PascalCase for exported (public) identifiers — Go uses capitalization for visibility.

CSS, HTML, URLs

Use kebab-case for class names, custom properties, HTML attributes, and URL paths. Google explicitly recommends dashes over underscores in URLs.

SQL

Most style guides prefer snake_case for table and column names. Some teams use lowercase-only. Never use camelCase in SQL — case sensitivity varies wildly across databases.

Real-world use cases

Writers and editors — Convert a headline to Title Case without capitalizing every article and preposition. Convert an all-caps quote to Sentence case for a natural read. Fix inconsistent capitalization in a bulk paste from another source.

Developers — Rename a Python variable to JavaScript style in one click. Convert database column names between snake_case and camelCase for API responses. Generate URL slugs from article titles.

SEO teams — Convert page titles to kebab-case URL slugs. Strip capitalization from meta keywords. Standardize hashtags to lowercase.

Marketers and social media managers — Convert product names to a consistent style across every channel. Transform any text to aLtErNaTiNg case for meme replies or stylized posts.

Students — Fix accidental caps-lock lines. Convert essay titles to proper Title Case. Standardize citation formatting.

Case converter comparison

FeatureThis toolWord / DocsOnline rivals
Number of cases133 (Sentence, lower, UPPER, Title, tOGGLE)Typically 5–8
Programming cases (camel, snake, kebab, dot)Some
Live update when editing inputRare
Handles Unicode & accentsVaries
Runs offline in the browserRequires appSome upload text
Sign-up required❌ NeverMicrosoft/Google accountVaries

Pro tips

  • For URL slugs, always use kebab-case in lowercase. Google recommends dashes over underscores, and case-sensitive servers treat /My-Page and /my-page as different URLs.
  • Title Case has multiple rulesets. Chicago style capitalizes major words; AP style capitalizes anything 4+ letters. Our converter uses the simplest rule: capitalize every word. Adjust manually for articles like “of,” “the,” “and” if your style guide demands it.
  • Sentence case is friendlier for UI copy. Modern product design (Google, Apple, Slack) has moved away from Title Case for buttons and menu items — Sentence case reads more natural and less shouty.
  • PascalCase and camelCase differ only in the first character. Both remove spaces and capitalize word starts.
  • Case conversion preserves Unicode. Accented characters (é, ñ, ü) and non-Latin scripts convert correctly. Emoji pass through unchanged.

Frequently asked questions (FAQs)

What’s the difference between camelCase and PascalCase?

Both remove spaces and capitalize each new word. The only difference is the first letter: camelCase starts with lowercase (helloWorld), PascalCase starts with uppercase (HelloWorld). Convention: camelCase for variables, PascalCase for classes and React components.

How is Title Case different from Sentence case?

Title Case capitalizes every word (“The Quick Brown Fox”). Sentence case capitalizes only the first word and proper nouns (“The quick brown fox”). Book titles use Title Case; body sentences use Sentence case.

Does the converter preserve Unicode?

Yes. Accented characters, Cyrillic, Greek, and other Unicode scripts convert correctly. Emojis and symbols pass through unchanged.

Which case should I use for URL slugs?

Use kebab-case (dashes) in lowercase. Google explicitly recommends dashes over underscores, and lowercase is required because case-sensitive servers treat different capitalizations as different URLs.

Is my text saved anywhere?

No. Every conversion is a JavaScript string operation in your browser. Nothing is uploaded, logged, or stored on any server.

Is there a length limit?

No practical limit. You can paste an entire novel and the browser handles it. Very large files (10 MB+) may briefly freeze the UI while processing — that’s a browser limit, not ours.

You may also like