String case converter

Client

Paste words, identifiers, or paths; pick a target style. Splits on spaces, underscores, hyphens, and camelCase boundaries.

Naming styles across languages and configs

APIs and databases often disagree: JSON fields may use camelCase while SQL columns use snake_case. This workspace converts chunks of text so you can align env vars, route segments, and generated code without manual retyping.

Heuristics may not match every style guide for acronyms or locale-specific casing. For larger refactors, pair with your editor or pipeline; for quick identifier passes, regex can help when patterns are strict and repeatable.

Source text

?

Splits on spaces, underscores, hyphens, and camelCase boundaries. Adjust the result in your editor after copying if needed.

Result

helloWorldFromApiUserProfile

Nearby workflows on Toolcore

  • URL slugwhen titles become path segments after case changes.
  • Regex generatorto batch-rename identifiers with patterns.

Common use cases

  • Rename API fields between JSON (camelCase) and SQL or env files (snake_case).
  • Normalize file paths or CSS class names to kebab-case or CONSTANT_CASE.
  • Convert pasted phrases from titles to a single identifier style for code generation.

Common mistakes to avoid

  • Expecting perfect results on natural language sentences

    Heuristics split on spaces, hyphens, underscores, and camel boundaries—odd phrases may need manual cleanup.

  • Breaking acronyms when converting case

    Strings like HTTP or URL may become Http or url depending on rules—verify against your style guide.

  • Applying locale-specific casing blindly

    Turkish i/İ and similar edge cases may not match server-side libraries—double-check for international brands.

FAQ

Is my text sent to a server?

No. Transformation runs locally in your browser.

Which case styles are supported?

The workspace lists presets such as camelCase, PascalCase, snake_case, kebab-case, and CONST_CASE—see the UI for the exact set.

Can this fix entire JSON files?

Paste chunks of keys or values as needed. For large documents, prefer a dedicated transform in your editor or pipeline.

Common search terms

Phrases people search for that match this tool. See the full long-tail keyword index.

  • camelcase to snake_case converter
  • kebab-case converter online
  • convert text to pascal case
  • case converter online

Related utilities you can open in another tab—mostly client-side.