Skip to main content

Convert between i18n formats

i18n-convert is a free open-source CLI that converts losslessly between 32 localization file formats. Below are the most common conversions with documented examples, command, and verbatim output. The CLI supports any pair of the 32 formats listed at the bottom — even if a documented page doesn't exist yet.

Install:

npm install -g @i18n-agent/i18n-convert
Need to translate, not just convert? Try i18nagent.ai MCP →

All 32 supported formats

The CLI converts between any pair of these formats. Documented pair pages exist for popular conversions; for everything else, run:

i18n-convert input.po --to xliff2 -o output.xliff
android-xmlAndroid XML
xcstringsXcode String Catalog
ios-stringsiOS Strings
stringsdictiOS Stringsdict
arbFlutter ARB
jsonStructured JSON
i18nexti18next JSON
xliffXLIFF 1.2
poGettext PO
yaml-railsYAML (Rails)
xliff2XLIFF 2.0
resx.NET RESX
java-propertiesJava Properties
php-laravelPHP/Laravel
qtQt Linguist
csvCSV
tomlTOML
iniINI
json5JSON5
hjsonHJSON
tmxTMX
srtSRT Subtitles
excelExcel
markdownMarkdown
ios-plistiOS Property List
javascriptJavaScript
typescriptTypeScript
neonNEON
plain-textPlain Text
yaml-plainYAML (Plain)
ispring-xliffiSpring Suite XLIFF
captivate-xmlAdobe Captivate XML