Case Converter Online

Case Converter

Convert identifiers between camelCase, PascalCase, snake_case, kebab-case, and CONSTANT_CASE for APIs and configs.

Case Converter Online workspace

Loading interactive tool...

Convert identifiers between camelCase, snake_case, kebab-case, and more for APIs, databases, and env vars—instantly in the browser.

Related developer tools

Continue your workflow with these free utilities on conversion tools and adjacent tasks—all browser-based, no upload required.

Browse all developer tools →

Naming conventions in everyday development

JavaScript favors camelCase while SQL and Python often use snake_case. URLs and CSS variables lean on kebab-case. A case converter online removes manual retyping when mapping fields across layers.

How tokenization works

The tool splits input on spaces, underscores, hyphens, and camelCase boundaries, then rebuilds the target style. Paste any mixed identifier to normalize it.

How it works

  1. 1Paste any identifier or phrase and pick the target naming convention.
  2. 2The converter tokenizes words from spaces, underscores, hyphens, and camelCase boundaries.
  3. 3Output updates instantly with no network requests.

Examples

snake_case to camelCase

user_profile_id
userProfileId

Phrase to kebab-case

Order Line Item
order-line-item

camelCase to CONSTANT_CASE

maxRetryCount
MAX_RETRY_COUNT

Mixed input to PascalCase

http_response_code
HttpResponseCode

When to use this tool

  • Map database columns to TypeScript properties.
  • Convert env var names between CONSTANT_CASE and camelCase.
  • Generate kebab-case slugs from product titles.
  • Normalize OpenAPI field names for clients.
  • Prepare test fixture keys across languages.
  • Fix inconsistent naming in copied JSON samples.

Frequently asked questions

Can I convert phrases with spaces?

Yes. Words are detected from spaces and punctuation.

Does order of words change?

Word order is preserved; only casing and separators change.

Is upload required?

No. Conversion is local.

What about acronyms?

Acronyms are treated as words; review output for API-specific rules.

Can I batch convert many lines?

Paste one identifier at a time for predictable results.

Related tools?

Pair with JSON formatter or JSON to TypeScript when scaffolding types.