How to use the Case Converter

Overview

A practical guide to choosing between uppercase, lowercase, camelCase, snake_case, kebab-case, and related text formats.

Quick answer: Use title case or sentence case for readable text, camelCase or snake_case for identifiers, and kebab-case or slug case for URLs.

1. What the tool does

This tool converts text into multiple cases and naming formats. It handles simple uppercase and lowercase changes, plus developer-friendly formats such as camelCase, PascalCase, snake_case, and kebab-case.

hello world example -> helloWorldExample

2. Which format should I choose?

Use title case for headings, sentence case for body text, camelCase for JavaScript variables, PascalCase for component and type names, snake_case for Python or database fields, and kebab-case for URLs or CSS class names.

  • Title Case for headings
  • camelCase for JavaScript variables
  • snake_case for Python and data fields
  • kebab-case for URLs and CSS classes

3. How input is normalized

For developer-style formats, the tool treats spaces, underscores, hyphens, dots, slashes, repeated separators, and camelCase boundaries as word breaks. That makes mixed input like `user_profile-name.example` much easier to clean up.

4. When not to use it

Do not use case conversion on values where exact casing matters, such as passwords, tokens, signatures, or IDs used as stable keys. Changing the case can turn one value into a different one.

Browse all guides

Open the full guides page to compare articles and jump to another topic.

Open guides page