String case converter
ClientPaste 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 slug — when titles become path segments after case changes.
- Regex generator — to 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
More tools
Related utilities you can open in another tab—mostly client-side.
URL slug generator
ClientHeadlines to SEO-friendly path segments: hyphens, diacritics, ASCII or Unicode, optional max length—local only.
Remove duplicate lines
ClientCollapse repeated lines in pasted text—trim or case-fold keys, optional sort—browser-only deduper.
Sort lines alphabetically
ClientLocale-aware A→Z / Z→A line sorts plus reverse—optional trim or case folding, browser-only.
Line ending converter
ClientCount LF, CRLF, and CR; normalize to one EOL style; optional UTF-8 BOM strip—local only, Git-friendly.