Back to Free Tools
FREE TOOLS
JSON to Java Properties Exporter
Flatten a JSON object into escaped Java Properties with a complete source map.
Pasted JSON object, One UTF-8 JSON file
exported.properties, properties-source-map.json
Browser only
Runs locally in your browser. Your files, pasted content and generated output are not uploaded. Reset clears this tool’s working data.
This tool needs JavaScript. If it does not load, refresh the page and try again.
How to use this tool
- Paste a JSON object or select one UTF-8 file; the file takes precedence.
- Export the flattened properties and inspect the source map for original types and paths.
- Download both files. A flattened-key collision refuses the complete export.
Examples
{"user":{"name":"Ada"}} exports the property user.name=Ada.
Limitations
- At most 1 MiB input, 10000 scalar leaves, 30 levels, 200000 visited nodes, 5 MiB combined output and 30 seconds.
- Objects use dots and arrays use [index] paths. Empty containers are omitted with diagnostics; colliding paths refuse atomically.
- Values become strings. Null becomes the literal string null with its source type retained in the map. This is one-way export, not reversible conversion or a complete Spring configuration mapper.
Related tools
No items found.