.strings / .xcstrings ↔ JSON / CSV.
Convert Apple Localizable.strings and Xcode String Catalogs (.xcstrings) to JSON or CSV and back.
Runs in your browserAbout .strings / .xcstrings ↔ JSON / CSV
.strings / .xcstrings ↔ JSON / CSV moves app translations between Apple's localization files and the formats translators and translation platforms work with. Paste a Localizable.strings file and get a CSV with key, comment and text columns, where the /* comments */ above each entry become context for the translator. Paste an Xcode String Catalog (.xcstrings) and every language becomes its own column, with plural and device variations spread over rows such as plural.one and plural.other, so a translator can fill in German or Ukrainian in a spreadsheet. The filled CSV converts back into a String Catalog with one stringUnit per language, written with Xcode's own key : value spacing so diffs stay small, or into a .strings file for a single language. Flat JSON such as {"welcome": "Welcome!"} works for web-based tools, and JSON grouped by language is produced when the input has several. The .strings reader understands escaped quotes, \n, \U00E9 style escapes, comments in both styles and unquoted keys, and errors point to the line, which helps with the classic missing semicolon or unescaped quote that makes Xcode drop a whole file. Keys in a catalog without a source-language entry use the key itself as the source text, as Xcode does. Remember that .strings cannot hold plurals: variations are skipped and counted when exporting to .strings, so use .stringsdict or a String Catalog for them. Substitution variants are read but cannot be rebuilt without their format specifiers. Translation states such as needs_review are preserved when converting a catalog to a catalog. Everything runs in your browser.
How to Use
- Paste a .strings file, an .xcstrings catalog, JSON or CSV.
- Choose the target format and the language code where needed.
- Copy or download the result and import it into Xcode or your translation tool.
Frequently Asked Questions
How are plurals represented in CSV and JSON?
Each variation becomes its own row with a variant such as plural.one or device.iphone.plural.other. In JSON the variant is appended to the key after a | character.
Can I convert a CSV with several languages to .strings?
Yes, one language at a time. Set Language to the column you want; .strings files hold a single language.
Why are some entries skipped when exporting to .strings?
Plural and device variations and missing translations cannot be expressed in .strings. The info panel shows how many were skipped.
Are my strings uploaded?
No. The conversion runs in your browser and the page makes no network requests while you use it.
Related Tools
Convert Android strings.xml resources, string arrays and plurals to JSON or CSV and back, with aapt escaping.
Convert XML and binary property lists (Info.plist, entitlements) to JSON, and JSON back to XML plist.
Convert between CSV and JSON formats.
Pretty print, minify, and validate JSON.
Escape and unescape strings for different formats.
Convert between HEX, RGB, and HSL formats.