JSON to Camel Case Converter

Paste JSON and convert every object key to camelCase recursively. Values stay unchanged, nested objects and arrays are preserved, and the result can be copied or downloaded as JSON.

JSON parsing and key conversion run locally in your browser.

Drop a .json file here or choose one from your device

Files are read only in your browser. Maximum file size: 5 MB.

Converted JSON
{
  "userProfile": {
    "firstName": "Ada",
    "createdAt": "2026-09-12"
  }
}

Parsing, file reading, formatting, and key conversion run locally in your browser. JSON input is not sent to a conversion server.

Example

Before

{
  "user_profile": {"first_name": "Ada", "last_login_at": "2026-09-12"}
}

After

{
  "userProfile": {"firstName": "Ada", "lastLoginAt": "2026-09-12"}
}

What gets converted

Object keys are converted recursively through nested objects and arrays. String, number, boolean, null, and array values are preserved. If two source keys would become the same key after conversion, the tool stops instead of silently overwriting data.

  • snake_case, kebab-case, PascalCase, and mixed key names are tokenized before camelCase formatting.
  • The first token stays lowercase and later tokens are capitalized with no separators.
  • Nested object keys and object keys inside arrays are converted recursively.
  • Key collisions are detected before output so one converted property cannot silently overwrite another.

Common use cases

Normalize snake_case API responses before using them in JavaScript or TypeScript application code.

Convert backend or database field names into frontend-friendly camelCase without editing values.

Prepare fixture, mock, or configuration JSON when a consumer expects camelCase object properties.

Check a payload quickly before implementing the same key-conversion rule in production code.