Skip to content
ToolsOnDuty - free online tools
Converters

Android strings.xml to JSON Converter

Convert Android strings.xml resource files to JSON and back.

Free foreverRuns in your browserNo sign-up
JSON

About the Android strings.xml to JSON Converter

Android apps keep localized text in res/values/strings.xml as <string name="key">value</string> entries. JSON is often easier for tooling and translators.

This converter turns strings.xml into a JSON object and back into a valid resources file.

It runs in your browser, so your resources stay private.

Key features

  • Two-way strings.xml and JSON conversion
  • Escapes XML characters when writing back
  • Simple key/value mapping
  • Local, private conversion

How to use

  1. 1Choose the direction.
  2. 2Paste your strings.xml or JSON.
  3. 3Copy the converted result.

Examples

strings.xml to JSON
Input: <string name="app_name">My App</string>
Output: { "app_name": "My App" }

Each string resource becomes a property keyed by its name attribute.

Frequently asked questions

Does it keep string arrays and plurals?
It focuses on simple <string> entries. String arrays and plurals use different tags and are not included in the basic mapping.
Are XML special characters handled?
Yes. When converting JSON back to XML, characters like &, < and > are escaped so the result is valid XML.
Does this run on a server?
No. It parses XML in your browser, so nothing is uploaded.