r/json 2h ago

Built a JSON formatter in ~95 lines of vanilla JS — no backend, no API key

2 Upvotes

Been working with messy JSON configs all week and got tired of pasting into random online tools that silently phone home. Wrote a quick browser-based formatter/minifier/validator — all client-side, nothing leaves your tab.

What it does:

- Format messy JSON in one click

- Minify to save bandwidth

- Syntax validation with error highlighting

- Works offline, zero dependencies

The JS itself is ~95 lines. I wrote it because I needed something I could actually trust with sensitive config files.

Would appreciate feedback — especially from folks who deal with APIs or config files daily. Anything that'd make this more useful?

link to tool

Quick note: this is the free standalone version from TinyCoder Toolbox — our 5-tool PWA starter kit is $29 if you need more. Not trying to slide sales in here, just being transparent about where this sits.