Ramesh Inampudi

Tools

Building a Private, Browser-Only JSON Toolkit

By Ramesh Inampudi · 2026-11-22 · 4 min read

Developers paste JSON into online tools all day: API responses, config files, log fragments. Many of those tools send the text to a server, show ads, or hide useful features behind a paywall. The JSON often contains things you would rather not upload. I built JSON Viewer to remove that trade-off: a full JSON toolkit that runs entirely in the browser.

Why I built it

I wanted one place to format, inspect, compare and query JSON without wondering where the data went. The rule I set was simple: JSON content must never leave the browser. Parsing, formatting, querying and schema validation all run client-side. There are no ads and no tracking, and I removed third-party analytics in favour of a small self-hosted counter running on Cloudflare Workers and Durable Objects.

The project started in July 2025 and I am still updating it. It is a single-page app written in TypeScript with React 18 and Vite.

What it does

The app is organised in modes. The core mode pairs an editor with several output views.

Editor and views

Transforms

Format, minify and recursive key sorting have keyboard shortcuts. A transform menu adds removal of nulls and empty values, flatten to dot-notation keys and back, array deduplication and unique-key extraction.

Diff, query and schema

Sharing

The Share button compresses the JSON with LZ-string and puts it in the URL fragment (#json=...). Fragments are not sent to servers, so the payload stays private. Larger documents are stored through paste.rs and shared as a short link. Adding ?embed=1 gives an output-only view suitable for an iframe.

How it works

The stack is React 18, TypeScript and Vite, with Monaco for editing. Several choices are worth explaining because they apply to any client-side tool.

The repository also contains a VS Code extension, a Chrome/Firefox browser extension and a separate Worker called Blackboard, so the same tooling reaches other places developers work.

What I learned

Try it

The app is live at https://irjson.com. Paste some JSON, press Ctrl/Cmd + Enter to format it, and switch between the tree, table and stats views. The source is on GitHub. Questions or feedback can go to hello@iramesh.com.

Conclusion

JSON Viewer is my attempt at a tool I can trust with real data: fast, free and local. If you build something similar, start from the privacy rule, virtualise anything large, and split your bundle by feature. Those three decisions shaped most of this project.

Live: https://irjson.com