Case Converter

Paste any text and convert it to UPPERCASE, lowercase, Title Case, Sentence case, camelCase, PascalCase, snake_case, kebab-case, or CONSTANT_CASE instantly. Copy the result with one click. Free, real-time, no sign-up required.

All processing happens in your browser — nothing is uploaded.

How to Use Case Converter

  1. Paste or type your text into the box above.
  2. Click any case button — the conversion appears instantly in the output box.
  3. Copy the result with the Copy button or select and copy manually.

Text Case Conventions Explained

Text case conventions are a fundamental part of professional writing and software development. They determine how words are capitalized and how word boundaries are marked — whether with spaces, underscores, hyphens, or simply by capitalizing the next word. Choosing the wrong case convention can cause bugs in code (most languages are case-sensitive), break URLs, or violate style guides.

In programming, camelCase and PascalCase are dominant in JavaScript, Java, and C#, while snake_case rules Python, Ruby, and SQL. Rust uses snake_case for functions and PascalCase for types. Database columns almost universally use snake_case. CSS classes use kebab-case. The CONSTANT_CASE (also called SCREAMING_SNAKE_CASE) is reserved for constants and environment variable names in most languages.

In writing and publishing, Title Case and Sentence case are the two dominant styles for headings. AP Style recommends Title Case for most headlines. Sentence case is preferred by many tech companies for UI elements, blog posts, and documentation headings — it feels more conversational and is easier to read at a glance. Having a reliable converter eliminates the tedium of manually recapitalizing after copying from one context to another.

Frequently Asked Questions

What is a text case converter? â–¼

A case converter transforms the capitalization pattern of text. For example, it can turn "hello world" into "Hello World" (Title Case), "helloWorld" (camelCase), or "HELLO_WORLD" (CONSTANT_CASE) — all with one click.

What is the difference between camelCase and PascalCase? â–¼

In camelCase, the first word is lowercase and subsequent words start with a capital: "myVariableName". In PascalCase (also called UpperCamelCase), every word starts with a capital: "MyVariableName". camelCase is common in JavaScript variables; PascalCase is used for class and component names.

What is snake_case used for? â–¼

snake_case uses all lowercase letters with words separated by underscores. It is the dominant naming convention in Python (variables, functions, module names), Ruby, and many database column names. It is also common in file names on Unix systems.

What is kebab-case? â–¼

kebab-case uses all lowercase letters with words separated by hyphens. It is widely used in CSS class names, HTML attributes, and URL slugs — anywhere a space is not allowed and underscores would be unusual. Example: "my-component-name".

What is Title Case vs Sentence case? â–¼

Title Case capitalizes the first letter of every major word (articles and prepositions are sometimes excluded in style guides). Sentence case capitalizes only the first letter of the first word and proper nouns. Title Case is used for headings; Sentence case is used for body text and UI labels.

Does this tool work on code identifiers? â–¼

Yes. Paste code identifiers in any format (camelCase, snake_case, kebab-case, PascalCase) and convert between them. The converter splits on spaces, underscores, hyphens, and case boundaries, so "myVariableName" and "my-variable-name" both split cleanly into the same words.

Is there a character limit? â–¼

No hard limit. The converter runs entirely in your browser, so performance scales with your device. Documents of several thousand words convert instantly on any modern browser.

Does this save or transmit my text? â–¼

No. Everything runs locally in your browser. Your text never leaves your device, nothing is uploaded to a server, and nothing is stored or logged.