Back to Free Tools

FREE TOOLS

JSON Key Case Converter

Recursively convert JSON member names to finite ASCII camel, snake or kebab case, rejecting every key collision.

Strict UTF-8 JSON file, Pasted strict JSON

JSON with converted member names

Browser only

Runs locally in your browser. Your files, pasted content and generated output are not uploaded. Reset clears this tool’s working data.

This tool needs JavaScript. If it does not load, refresh the page and try again.

How to use this tool

  • Paste JSON input or choose a JSON file.
  • Select Key case:camelCase, snake_case or kebab-case.
  • Select Convert JSON keys, then Download result for converted-keys.json. Any transformed/untouched collision rejects the complete operation.

Examples

HTTPServer becomes httpServer/http_server/http-server; fooBAR becomes fooBar/foo_bar/foo-bar; 42ID becomes 42Id/42_id/42-id.

Limitations

  • 5 MiB input,40 nesting levels,200000 values,10000 UTF-16 units per key/number token,20 MiB aggregate destination-key UTF-8 bytes/output and 30 seconds.
  • Eligible keys contain only ASCII letters, digits, space, underscore and hyphen. No Unicode case folding, locale inference or linguistic tokenization.
  • Object serialization order, whitespace and escape spellings are not preserved; arrays, decoded values and number tokens are retained.

Related tools

No items found.

More tools for your workflow

Explore the related desktop tool