Remap and rename property keys across all objects in a JSON document or array
Remap property keys across JSON records to align with target API or database schemas.
Interactive Sample Data
| id | first_name | last_name | user_email |
|---|---|---|---|
| 1 | Grace | Kerubo | grace@corp.com |
| 2 | Peter | Njoroge | peter@corp.com |
How this tool works
Things that usually go wrong
- Renaming to a key that already exists overwrites the existing value — the tool warns you.
- Nested key renaming (inside an object within the array) requires dot notation.
Edge cases we tested
Only the key is renamed; the data value remains untouched.
Renamed consistently across all hierarchical levels.
Alerts user before overwriting to prevent data loss.
Frequently Asked Questions
Can I rename keys in nested objects?
Yes — use dot notation: 'user.firstName' → 'user.first_name'.
Can I rename all keys to snake_case at once?
Yes — enable 'Auto-convert to snake_case' mode.
Can I rename all keys to camelCase at once?
Yes — enable 'Auto-convert to camelCase'. first_name becomes firstName, last_name becomes lastName, and so on across all objects in the array.
Does the rename apply recursively to nested objects?
Yes — enable 'Deep rename' to apply the mapping to nested objects at all levels.
Related tools
Column to Comma-Separated List
Extract a CSV column and convert it to a comma-separated list for SQL IN clauses or code arrays.
Open Tool →Comma-Separated List to Column
Convert a comma-separated, line-separated, or SQL IN list into a single-column CSV.
Open Tool →Lines to CSV
Convert plain-text newline-delimited records into structured CSV tables.
Open Tool →