JSON Translator

Translate the text in a JSON localization file without breaking keys, structure or placeholders.

App and website translations usually live in JSON: en.json, de.json, messages.json. Pasting such a file into a translator mangles it — keys get translated, quotes change, {name} turns into {nom}. This tool translates only the string values and puts them back in the same structure, with the same keys in the same order.

Placeholders are protected: {name}, {{count}}, %s, %1$d, ${value} and HTML tags are swapped for markers before translation and restored afterwards. If a translation loses a marker, that string is left in the original language and listed, so nothing broken slips through. Links, e-mail addresses, dates, colours and code-like identifiers are not sent for translation at all.

In Chrome on a computer the translation runs with the browser’s built-in translator, on your device — the language model downloads once and the text goes nowhere. In other browsers, download the strings as CSV or JSON, translate the text column in any service or with a translator, and load the file back: keys and placeholders are checked automatically before the new JSON is built.

Nothing is uploaded: everything runs inside your browser, so API responses, configs, contact lists and datasets stay on your device.

What stays untouched

How to translate a JSON file in 3 steps

  1. 1

    Load the JSON

    A localization file, pasted text or the Sample; the tool counts the strings to translate.

  2. 2

    Translate

    Choose the languages and press Translate, or export the strings, translate them elsewhere and load them back.

  3. 3

    Download

    Get name.<language>.json with the same keys and structure.

Frequently asked questions

Load it, choose the target language and press Translate; download the translated JSON when it is done.
Chrome on a computer has a built-in on-device translator. Elsewhere use the CSV export and import — any translation service works.
Yes. They are replaced with markers during translation; if a marker is lost, the string stays untranslated and is listed.
No, only string values. Keys, numbers and booleans are kept as they are.

Related tools