Why No Public API?
Our tool is architected for privacy and speed. By running entirely in the browser, we avoid sending your sensitive JSON data across the wire. This architecture currently precludes a server-side API.
Future Plans
We are exploring a wasm (WebAssembly) based SDK that would allow developers to embed our formatting engine into their own web apps without making network requests.
Integration Guide
Link to the formatter from your application and pre-fill the editor using one of two URL parameters:
Inline JSON payload (?data=)
URL-encode your JSON and pass it as the data parameter. The editor loads the value instantly — no network request is made.
https://jsonindenter.com/?data={"hello":"world","count":42} Remote URL (?url=)
Point to a publicly accessible JSON endpoint. The tool fetches it client-side (subject to CORS).
https://jsonindenter.com/?url=https://api.example.com/data.json