What Is ARB to JSON?
ARB (Application Resource Bundle) is the localization file format used by Flutter and Dart projects. It contains translation strings alongside metadata entries prefixed with @, and converting ARB to JSON strips this metadata to produce clean key-value translation objects.
This is used for:
- Flutter Localization: Extracting clean translation pairs from ARB files generated by Flutter's l10n tooling for use in non-Flutter JavaScript or backend projects.
- Metadata Removal: Stripping ARB metadata descriptors like
@key.descriptionand@key.typeto produce minimal JSON compatible with any i18n library. - Cross-Platform Sharing: Converting Flutter-specific ARB files into universal JSON that can be consumed by iOS, web, or server-side applications.
How to Use ARB to JSON Online
- Paste your ARB content: Copy the contents of your Flutter ARB file, which includes translation keys, values, and @-prefixed metadata entries.
- Click Convert: Press the Convert to JSON button to automatically strip all metadata and produce a flat JSON object of key-value translation pairs.
- Copy or download: Copy the clean JSON to your clipboard or download it for integration with any JSON-compatible system.
Frequently Asked Questions
What are the @-prefixed keys in ARB files?
ARB files use keys starting with @ to store metadata about translation entries, such as descriptions, placeholders, and resource attributes. This tool automatically filters out these metadata keys, returning only the actual translation content.
Is this tool safe?
Yes. All processing happens 100% client-side in your browser. Nothing is uploaded to any server.
Is this tool free?
Yes, completely free with no usage limits or registration required.
Real-World Examples
Flutter teams building cross-platform mobile apps often use ARB files as their source of truth for translations. When those same translations need to be shared with a companion web app built in React or with a Node.js backend, this ARB to JSON converter provides the bridge between Flutter's ecosystem and the broader JavaScript ecosystem.
Related Tools
- JSON to iOS .strings — Convert JSON to Apple iOS localization format
- strings.xml to JSON — Convert Android strings.xml resource files to JSON
- XLIFF to JSON — Convert XLIFF translation files to JSON