Embeddable JSON Viewer
Drop an interactive JSON tree onto any page with a single <iframe>. Configure it below and copy the code.
<iframe src="https://jsonkit.in/embed?data=N4KABGBEAOBOD2ATArgYwC6QFxQFIGUB5AOQGkBLTAGnCgDNYBTR7MdWZRmiSdeeADYBnVgHYAnNyjoAhgHMROANqQAVkPgA7SFXrxYAWxnp0jWDqgA3cowDuZyAF0QAXyA" width="100%" height="320" style="border:1px solid #e2e8f0;border-radius:12px" title="JSON viewer by JSONKit" loading="lazy" ></iframe>
Embeddable JSON Viewer — iframe Widget
How it works
The widget is a tiny, chrome-less page at jsonkit.in/embed that renders JSON as a collapsible, syntax-highlighted tree. You point an <iframe> at it and pass your data through the query string. There's no script to install and nothing to maintain — the viewer is served and updated by JSONKit.
Parameters
| Parameter | What it does | Example |
|---|---|---|
| data | A JSONKit share token (compressed JSON). Best for static/inline data. | ?data=N4Ig… |
| url | A live URL to fetch JSON from at view time (subject to the API's CORS policy). | ?url=https://api.site.com/data.json |
| theme | Color theme: light, dark, dracula, github, monokai, nord. | ?theme=dark |
Use either data or url. The generator above produces a data embed so your JSON travels with the snippet and never changes unexpectedly.
Privacy
When you use a data embed, the JSON is encoded into the URL and rendered entirely in the visitor's browser — JSONKit never receives or stores it. With a urlembed, the visitor's browser fetches that URL directly. Either way, there is no server-side logging of your data.