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
camelCasePascalCasesnake_casekebab-caseCONSTANT_CASEdot.caseTitle Case
userProfileIdUserProfileIduser_profile_iduser-profile-idUSER_PROFILE_IDuser.profile.idUser Profile Id
xmlHttpRequestXmlHttpRequestxml_http_requestxml-http-requestXML_HTTP_REQUESTxml.http.requestXml Http Request
maxRetryCountMaxRetryCountmax_retry_countmax-retry-countMAX_RETRY_COUNTmax.retry.countMax Retry Count
backgroundColorBackgroundColorbackground_colorbackground-colorBACKGROUND_COLORbackground.colorBackground 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

  1. Paste one identifier per line (for example userProfileId or max_retry_count).
  2. Choose the naming convention you want to convert everything to.
  3. 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.
camelCase, snake_case & kebab-case Converter | TheToolss