✍️ Text & Writing

Case Converter

Paste any text, pick a format, and it's done. Nine case styles — from camelCase to CONSTANT_CASE — all in one place. Your input stays in the browser, nothing is sent out.

Examples (click to try)

Choose a conversion and click

Result

Pick a format above and the result will appear here

How to Use the Case Converter

Type or paste your text into the box above, then click the button for the case style you need. The converted result appears in the output area, and you can copy it to the clipboard with the Copy button.

For example, entering hello world produces the following in each case style:

  • hello world → UPPERCASE: HELLO WORLD
  • hello world → lowercase: hello world
  • hello world → Title Case: Hello World
  • hello world → Sentence case: Hello world
  • hello world → camelCase: helloWorld
  • hello world → PascalCase: HelloWorld
  • hello world → snake_case: hello_world
  • hello world → kebab-case: hello-world
  • hello world → CONSTANT_CASE: HELLO_WORLD

Here is what each case style means:

  • UPPERCASE: Converts every letter to uppercase. Example: HELLO WORLD
  • lowercase: Converts every letter to lowercase. Example: hello world
  • Title Case: Capitalizes the first letter of each word. Example: Hello World
  • Sentence case: Capitalizes only the first letter of each sentence (split by punctuation or line breaks). Example: Hello world. My name is.
  • camelCase: Lowercases the first word and capitalizes the start of every subsequent word, joining them without spaces. Example: helloWorld
  • PascalCase: Capitalizes the first letter of every word and joins them without spaces. Example: HelloWorld
  • snake_case: Lowercases all words and joins them with underscores. Example: hello_world
  • kebab-case: Lowercases all words and joins them with hyphens. Example: hello-world
  • CONSTANT_CASE: Uppercases all words and joins them with underscores. Example: HELLO_WORLD
  • Toggle Case: Flips the case of every letter — uppercase becomes lowercase and vice versa. Example: hELLO wORLD

When is this tool useful?

  • Standardizing variable names, class names, or function names in code (camelCase / PascalCase / snake_case)
  • Creating CSS class names or URL slugs in kebab-case
  • Formatting headings and titles consistently with Title Case
  • Quickly fixing the capitalization of copied text or code snippets

Frequently Asked Questions

Is my input sent to a server?
No. All conversion happens entirely in your browser. Nothing you type is ever transmitted or stored externally, so it is safe to use with sensitive or confidential text.
What is the difference between camelCase and PascalCase?
camelCase starts the first word in lowercase and capitalizes the first letter of every subsequent word (e.g. myVariableName). PascalCase capitalizes the first letter of every word, including the first (e.g. MyVariableName). camelCase is commonly used for JavaScript variables, while PascalCase is used for class names.
When should I use snake_case versus kebab-case?
snake_case is commonly used for variable names and file names in Python, and for database column names. kebab-case is widely used for CSS class names, URL slugs, and HTML attribute names. Both formats use all-lowercase words joined by a separator character.