
▲ 2 r/json
I got tired of online JSON formatters sending my data to remote servers, so I built my own 100% client-side tool.
Hey everyone,
As an infrastructure engineer, I work with JSON and YAML webhooks every single day. I hated pasting sensitive API payloads into random online formatters because almost all of them send your data to a backend server to process it. Plus, most of them crash if you try to format a 5MB log file.
So, I spent the last few months building PrettyJSON (https://prettyjson.org).
I built it as a React SPA that runs entirely in your browser using your local JavaScript engine. Your data never leaves your device.
A few features I added for my own workflow:
- Handles massive files: Tested up to 10MB without crashing (uses virtualized rendering).
- Built-in Diff Tool: Side-by-side comparison for Kubernetes YAML or JSON configs.
- Code Generation: Generates TypeScript interfaces, Go structs, and Python Dataclasses straight from the JSON.
- Auto-repair: Fixes trailing commas, missing quotes, and comments automatically.
It's completely free and there are no paywalls. I'd love for you guys to tear it apart, test it, and let me know if you find any bugs or have feature requests!
Link: https://prettyjson.org
u/Awkward_Top_9743 — 1 day ago