JSON Key Normalizer

Rewrite every key in your JSON to a consistent case convention — across the entire object tree.

JSON Key Renamer

Transform and rename JSON keys with ease

Case Transform:

Rename Rules (optional)

Multiple Formats

camelCase, snake_case, PascalCase, kebab-case

100% Private

All processing happens in your browser

No Signup

Free tool, no registration required

Frequently Asked Questions

Instant

Runs entirely in your browser — no upload, no wait.

100% private

Your JSON never leaves the tab. Nothing is logged.

No signup

Free, unlimited, no account required.

Why normalize?

APIs from different teams emit different conventions: firstName, first_name, First-Name. Normalizing to one convention before persisting or comparing avoids subtle bugs and makes diffs readable.

Supported conventions

camelCase — firstName. JS/TS default. snake_case — first_name. Python, Ruby, many SQL columns. kebab-case — first-name. URL slugs, CSS. PascalCase — FirstName. C#/Go exported fields. SCREAMING_SNAKE — FIRST_NAME. Constants, env vars.

How it handles edge cases

Acronyms (URL, ID, HTTP) are detected and folded according to convention — URLPath becomes urlPath in camelCase. Numbers attached to words (field1 vs field_1) are configurable.

Code recipe

For one-off scripts, lodash + a recursive walk does the same job.

import { camelCase, isPlainObject } from 'lodash-es';
function normalize(node) {
  if (Array.isArray(node)) return node.map(normalize);
  if (isPlainObject(node)) return Object.fromEntries(Object.entries(node).map(([k, v]) => [camelCase(k), normalize(v)]));
  return node;
}

Privacy

Local-only — no upload.

Related tools

Frequently asked questions