A lightweight, single-file web application to quickly analyze JSON data right in your browser.
Paste JSON, count elements, prettify formatting, copy to clipboard, and see detailed statistics — all offline, no server required.
- Paste & Count – Instantly see:
- Root type (Object / Array / Primitive)
- Number of top-level elements
- Total objects, keys, arrays, array items, primitives, and total nodes
- Prettify JSON – Reformat JSON with indentation for easier reading
- Copy to Clipboard – One click to copy the current (optionally prettified) JSON
- Insert Example – Quickly try with a built-in example
- Error Display – Clear feedback when JSON is invalid
- Offline Use – Works entirely in your browser
- Self-Test Harness – Built-in test cases to verify behavior
No installation needed — just download and open the HTML file.
- Save
index.htmllocally. - Double-click the file to open in your browser.
- Paste JSON, click Count, and view stats.
You can host this anywhere that serves static files:
- GitHub Pages – Free for public repos
- Netlify – Drag & drop or Git-connected deploy
- Vercel – One-command deploy
- Cloudflare Pages – Unlimited free static hosting
- Surge – Quick CLI publish
Example (Netlify drag & drop):
- Go to Netlify Drop
- Drag your
index.htmlfile into the page - Get your live HTTPS URL instantly
MIT License — feel free to use, modify, and distribute.