camelCase / snake_case / kebab-case Converter
Convert identifiers between camelCase, PascalCase, snake_case, kebab-case, CONSTANT_CASE and dot.case.
- 100% free
- Private in browser
- No signup
- No watermarks
Converted
user_profile_id xml_http_request max_retry_count background_color
| camelCase | PascalCase | snake_case | kebab-case | CONSTANT_CASE | dot.case | Title Case |
|---|---|---|---|---|---|---|
| userProfileId | UserProfileId | user_profile_id | user-profile-id | USER_PROFILE_ID | user.profile.id | User Profile Id |
| xmlHttpRequest | XmlHttpRequest | xml_http_request | xml-http-request | XML_HTTP_REQUEST | xml.http.request | Xml Http Request |
| maxRetryCount | MaxRetryCount | max_retry_count | max-retry-count | MAX_RETRY_COUNT | max.retry.count | Max Retry Count |
| backgroundColor | BackgroundColor | background_color | background-color | BACKGROUND_COLOR | background.color | Background Color |
Rate this tool
Be the first to rate — helps others and improves this page.
About camelCase / snake_case / kebab-case Converter
Paste variable names, database columns, CSS properties or API keys — one per line — and convert them between programming naming conventions. Acronyms like XMLHttpRequest and numbers are split correctly, and every case is shown side by side.
How to use camelCase / snake_case / kebab-case Converter
- Paste one identifier per line (for example userProfileId or max_retry_count).
- Choose the naming convention you want to convert everything to.
- Copy the converted list, or use the table to see every convention at once.
Key features
- camelCase, PascalCase, snake_case, kebab-case, CONSTANT_CASE, dot.case and Title Case
- Splits acronyms (XMLHttpRequest → xml_http_request) and digits correctly
- Bulk conversion, one identifier per line
- Side-by-side table of every convention
- Runs entirely in your browser
Frequently asked questions
- How are words detected?
- Words are split at underscores, hyphens, dots and spaces, at lowercase-to-uppercase humps (fooBar), and before the last capital of an acronym (XMLHttp → XML Http).
- Which case should I use?
- Common conventions: camelCase for JavaScript variables, PascalCase for classes and React components, snake_case for Python and SQL columns, kebab-case for URLs and CSS, CONSTANT_CASE for constants and environment variables.
- Are numbers kept?
- Yes. Digits stay attached to the word they follow, for example address2Line → address2_line.
- Can I convert many names at once?
- Yes. Put each identifier on its own line and all of them are converted together.
- Is my code private?
- Yes. Conversion happens in your browser and nothing is uploaded.
Related In-Depth Guides
Learn practical workflows, real-world examples, and expert tips in our comprehensive guides:
Password Entropy Explained: How Bits Measure Brute-Force Cracking Time
Understand Shannon entropy in passwords, character pool combinations, and how many seconds, years, or millennia it takes GPUs to crack modern passphrases.
How to Convert Docker Run Commands to Docker Compose YAML Files
A comprehensive developer guide to transforming complex docker run commands into clean, maintainable docker-compose.yml files.
Web Accessibility & Color Contrast (WCAG 2.1): How to Design AA & AAA Palettes
A practical guide to color contrast ratios, accessibility compliance, WCAG 2.1 AA/AAA standards, and building accessible UI palettes.