CODING · FREE TOOL
JSON export & ENV converter
Export JSON as typed XML, PHP arrays, query strings, flat INI or ENV; convert ENV to JSON.
On-device processing · No account · No ads
Files and entered values are processed in your browser, without uploading them to Toolfred. Our tools do not automatically save your work or send it to embedded analytics.
Pages, libraries and shared reference files still download from our host. Downloads you save, browser recovery and hosting logs have separate retention. Local processing is not a guarantee of anonymity or secure deletion.
See where data goes →Your result
Illustrative preview · actual search results vary
{}{"name":"Toolfred","search":"two words","limit":10}How this tool works
There is no universal JSON-to-XML mapping. Toolfred emits a documented typed structure: a json root containing object/member, array, string, number, boolean and null elements. Object keys are member-name attributes, so spaces and punctuation do not become invalid XML element names. XML 1.0-incompatible controls are rejected. PHP output is source containing a returned array literal; strings are quoted and escaped rather than interpolated. PHP may coerce numeric object keys to integer array keys. Review generated code before use. Query strings use form encoding: spaces become +, null becomes an empty value, and nested values are rejected. ENV supports single-line identifier assignments, optional export prefixes and # comments. Values remain strings, without variable or escape expansion. ENV formats differ between tools; output follows this conservative Node-style subset and is not a shell script. Flat INI has no sections or interpolation. No conversion can add precision to a JSON number; quote identifiers and exact decimal amounts when precision matters.
Format references: RFC 8259 · JSON interoperability · XML 1.0 · PHP strings · Node.js ENV syntax. Reviewed October 23, 2026.
Working inputs are held in this page and its temporary local worker. Downloads and clipboard copies persist separately; hosting request logs have their own retention. This tool does not certify data safety or compatibility with every application.