Skip to main content
☀
👤
CO

Code Case Converter (camelCase, snake_case, kebab-case)

Utilities Free Updated 4 Oct 2026
⚠ Report Issue
ⓘ About this tool 🔄 Last updated 4 Oct 2026 ✓ Reviewed by TopToolAI Team

Converts text or variable names between camelCase, PascalCase, snake_case, kebab-case, and CONSTANT_CASE. Works on multiple lines at once, and detects word boundaries from spaces, underscores, hyphens, and existing camelCase.

How to use Code Case Converter (camelCase, snake_case, kebab-case)

Step-by-step guide to the boxes below. Open it only if you need help.

  1. 1
    Enter text or a variable name (one per line) Text box

    Type a phrase or variable name. Put each one on its own line to convert many at once.

    Example: user name / first_name

  2. 2
    Convert to Choose one

    The naming style you want, e.g. camelCase for JavaScript, snake_case for Python.

    Choose one: camelCasePascalCasesnake_casekebab-caseCONSTANT_CASE

  3. 3
    Press “Convert”

    Click the button under the boxes. If something is missing or not valid, a short message tells you which box to fix.

  4. 4
    Read your result

    Your answer appears under the button, with a short note in plain words where it helps. Change any box and press again to compare different numbers.

Embed this calculator on your website

Want this calculator on your own site? Copy the code below and paste it into the HTML of any page or post. It works the same as it does here. If you do not mind, leave the small link under it in place.

Code Case Converter (camelCase, snake_case, kebab-case) FAQs

Can I convert multiple names at once?
Yes — put each one on its own line and they will all be converted together.
What is camelCase?
Words joined together with the first letter of each word after the first capitalised, like userFirstName. It is common in JavaScript and Java.
What is snake_case?
Lowercase words joined by underscores, like user_first_name. It is common in Python and databases.
What is kebab-case?
Lowercase words joined by hyphens, like user-first-name. It is common in URLs and CSS class names.

User Reviews

No reviews yet — be the first to try this tool and leave one.

Leave a review

More Free Tools

Handy the next time you're here

TE
Text Diff Checker
Utilities
Text Diff Checker, a free, instant tool.
⚡ No signup
IB
IBAN Validator
Utilities
IBAN Validator, a free, instant tool.
⚡ No signup
CR
Credit Card Number Validator (Luhn Check)
Utilities
Credit Card Number Validator (Luhn Check), a free, instant tool.
⚡ No signup
CS
CSV to JSON Converter
Utilities
CSV to JSON Converter, a free, instant tool.
⚡ No signup
MA
Markdown to HTML Converter
Utilities
Markdown to HTML Converter, a free, instant tool.
⚡ No signup
DO
Download/Upload Time Estimator
Utilities
Download/Upload Time Estimator, a free, instant tool.
⚡ No signup
UR
URL Query String Parser
Utilities
URL Query String Parser, a free, instant tool.
⚡ No signup
CS
CSS Unit Converter (px, em, rem, pt)
Utilities
CSS Unit Converter (px, em, rem, pt), a free, instant tool.
⚡ No signup

Browse all Free Tools →

Get Deal Alerts

Leave your email and we'll let you know whenever a new free tool launches or a Discount Tools deal goes live. No spam, unsubscribe any time.