Split the identifier at its word boundaries, then rejoin the words in the target style: firstName becomes first_name and back again. A browser-based case style converter does this for whole lists of identifiers at once, converting between camelCase, PascalCase, snake_case, kebab-case and CONSTANT_CASE on your own device, which is handy when moving names between languages like JavaScript and Python.
Free code case converter. Convert identifiers between camelCase, PascalCase, snake_case, kebab-case, CONSTANT_CASE and dot.case for programming. Private.
Open camelCase, snake_case and kebab Converter → Free toolFree string case converter for code. Turn any text into camelCase, snake_case, kebab-case, PascalCase or CONSTANT_CASE at once. Live, private, in your browser.
Open String Case Converter →Different ecosystems standardize different identifier styles: JavaScript and Java favor camelCase, Python and Ruby favor snake_case, CSS classes and URLs use kebab-case, environment variables and constants use CONSTANT_CASE, and class names are commonly PascalCase. The moment data crosses a boundary, a JSON API feeding a Python service, or a database schema surfacing in a JavaScript client, someone has to convert names accurately.
Renaming one identifier is easy; renaming forty fields without a typo is not. A case style converter takes your list of names and outputs them in the target convention, handling the word-boundary detection for you, including digits and acronyms that make hand-conversion error prone. A companion tool shows one input in every case style at once when you just need all the variants.
Field and variable names can reveal a lot about an internal schema. The conversion runs entirely in your browser, so your identifier list is never sent anywhere.
camelCase, PascalCase, snake_case, kebab-case, CONSTANT_CASE and dot.case, in any direction.
Yes. Paste a list and the whole set is converted in one go.
No. The conversion runs entirely in your browser.