JSON Key Rename
Free online JSON key rename tool. Batch rename object keys throughout nested JSON. Rename oldKey to newKey everywhere. Runs locally in your browser, no data uploaded. 100% Local
How to Use the JSON Key Rename
Paste JSON into the input box. In the top box, enter the old key and new key separated by a comma (for example oldName,newName). Click Rename Keys and every occurrence of the old key is replaced recursively. Use Clear to reset.
How renaming works
- Replaces all occurrences of the old key at every nesting level
- Works inside objects nested within arrays
- Value types and order are preserved unchanged
- Keys not matching the old key are left untouched
Features
- Full recursive rename — no depth limit
- Single key mapping per operation — run again for multiple renames
- Validates JSON before renaming
- All processing runs locally in your browser. Your data is not uploaded to any server.