Translation File Converter Online

Convert translation files between JSON, XLIFF 1.2 / 2.0, PO, ARB, iOS .strings, Android XML, .resx, YAML, CSV; find missing keys; pseudo-locales.

Free tool: 20 requests per minute.

Result

Press “Run” to see the result.

Read and write the common localisation formats through one model (key, value, plural forms, note, context, source text): JSON flat or nested (i18next, vue-i18n, with _one / _other plural suffixes), ARB (Flutter, @key descriptions, ICU plurals), XLIFF 1.2 and 2.0 (inline tags kept), gettext PO / POT (context, plurals, translator comments), iOS .strings, Android strings.xml (string, plurals, string-array, escapes), .NET .resx, Rails YAML and CSV for translators. from is detected from the content; set to and the target locale.

action=diff compares a base file with one translation or several translations ({ "vi": …, "ja": … }) and lists missing, extra, untranslated and unchanged keys, placeholder mismatches ({name}, {{name}}, %s, %1$d, %{name}, ${name}, ICU arguments), HTML tag mismatches and ICU MessageFormat syntax errors (e.g. a plural without other), with a coverage percentage. action=pseudo makes a pseudo-locale (accented, ~35 % longer, bracketed, placeholders and tags untouched) to find hard-coded strings and truncation. action=parse returns the entries.

Pass source (the source-language file) to fill XLIFF <source> and PO msgid with real text. download=true returns the file itself. Up to 5 MB and 50,000 keys.

Use this in your code

curl -X POST "https://apibox.io.vn/v1/i18n-convert" \
  -H "Authorization: Bearer YOUR_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"content":"{\"home\":{\"title\":\"Welcome, {{name}}!\",\"items_one\":\"{{count}} item\",\"items_other\":\"{{count}} items\"}}","to":"po","locale":"vi"}'

API documentation → Get a free API key

FAQ

Are plurals converted?

Yes: i18next suffixes, Android plurals, PO msgstr[n], Rails one / other and ICU plural messages map onto each other. Formats without plurals (.strings, .resx) get the ICU text and a warning.

What does the PO msgid contain?

The source text when you pass source (or the file already has it), otherwise the key. msgctxt is kept.

Is .mo supported?

No, send the .po source. Compiled .mo files are refused with a clear error.