Case Converter
🔒 In your browsercamelCase, snake_case, kebab-case, Title Case, and more.
About the Case Converter
Switching text between camelCase, snake_case, kebab-case and Title Case by hand is tedious. This free case converter transforms text between all the common programming and writing cases instantly.
It runs in your browser and keeps your text private.
Supported cases
- camelCase and PascalCase for code identifiers.
- snake_case and kebab-case for variables, files and URLs.
- Title Case, Sentence case, UPPERCASE and lowercase for writing.
Which case to use where
- camelCase — variables and functions in JavaScript, Java and Swift.
- PascalCase — class and component names (and React components).
- snake_case — variables in Python and Ruby, and database columns.
- kebab-case — URLs, CSS classes, and file names (hyphens are URL-safe).
- Title Case and Sentence case — headings and prose.
Frequently asked questions
What case formats does it support?
camelCase, PascalCase, snake_case, kebab-case, Title Case, Sentence case, UPPERCASE and lowercase — covering both coding and writing needs.
When would I use kebab-case?
kebab-case (words joined by hyphens) is common for URLs, CSS class names and file names because hyphens are URL-safe and readable.
Is my text uploaded?
No. Conversion happens locally in your browser.
What's the difference between camelCase and PascalCase?
Both join words without spaces; camelCase starts lowercase (myVariable) while PascalCase capitalises the first letter too (MyClass). camelCase is conventional for variables, PascalCase for types and classes.
Can it convert a whole sentence to Title Case?
Yes. Paste a sentence and choose Title Case to capitalise the first letter of each significant word — useful for headlines and button labels.
Related searches
Related Developer tools
🔗 Embed this tool on your website — free
Copy this and paste it into your page's HTML. The tool runs in the visitor's browser, just like here. Change height to fit, or add the optional auto-resize snippet below. Add ?theme=dark to the URL for dark mode.
<iframe src="https://toolhq.dev/embed/case-converter/" title="Case Converter — ToolsHub" width="100%" height="520" style="border:1px solid #e5e7eb;border-radius:12px;max-width:680px" loading="lazy"></iframe>Optional: auto-resize the iframe height
Add this once on the same page so the iframe grows to fit the tool:
<script>
addEventListener("message", function (e) {
if (e.data && e.data.type === "toolshub:resize") {
document.querySelectorAll('iframe[src*="/embed/"]').forEach(function (f) {
if (f.contentWindow === e.source) f.style.height = e.data.height + "px";
});
}
});
</script>