i18n JSON checker

Drop in your JSON locale files, one per language, and see what has drifted: missing keys, extra keys, empty or untranslated strings, placeholder mismatches and duplicate keys. Fix the gaps and download the synced files. Runs in your browser; files are never uploaded or saved.

Loading…

Common mistakes

  • Shipping a placeholder mismatch

    A translation with {{username}} where the base has {{name}} renders a broken string at runtime. The checker compares placeholders per key so these show up before release.

  • Deleting extra keys without reviewing them

    An extra key can be a leftover, or a translation the base file lost. Review the list and tick only the keys you actually want removed.

  • Counting base-filled keys as done

    Copying the base text into a missing key is a placeholder, not a translation. The re-check keeps counting those values as untranslated so they stay on the list.

How it works

  1. 1

    Add your locale files

    Drop in the JSON files, one per language (en.json, de.json, ...), or pick them from your disk. They are read in this tab only.

  2. 2

    Read the report

    Each language is compared against the base: which keys are missing, which are extra, which values are empty, identical to the base, or use different {{placeholders}}.

  3. 3

    Fix and download

    Preview what changes, then download each fixed file. Missing keys are filled with empty strings (or the base text, still marked untranslated), keys are sorted like the base, and extra keys are removed only where you ticked them.

Questions

What does the checker look for?
Missing keys versus the base file, extra keys, empty strings, values identical to the base (usually untranslated), placeholder mismatches like {{name}} versus {{username}}, value type mismatches, and duplicate keys inside one file.
Does it translate anything?
No. Filling a missing key inserts an empty string, or a copy of the base text if you choose that. Base-filled values still count as untranslated in the re-check, so nothing looks translated that isn’t.
Are my files uploaded anywhere?
No. The files are read in your browser tab and never sent to a server or saved. Closing the tab discards them.
Will it delete keys on its own?
No. Extra keys are listed for review and removed only where you tick them. Duplicate keys are reported with their line numbers but never merged automatically.
Which placeholder styles are compared?
i18next-style {{name}} (including formats like {{count, number}}) and ICU-style {name}. printf-style %s placeholders are not compared yet.
Which file format is supported?
JSON locale files with a flat or nested key structure, as used by i18next, react-intl (compiled), vue-i18n and similar libraries. YAML, ARB, PO and XLIFF are not supported yet.

Sources

The standards and references the tool and the answers above are based on.