DEV Community

Syed Fahad Ali
Syed Fahad Ali

Posted on

Why I Built a 100% Client-Side JSON Auto-Fixer & JWT Decoder (Zero Server Uploads)

Every developer has done it at least once: you copy a production JWT token or a sensitive API payload containing customer emails, paste it into a random online JSON formatter or jwt.io clone, and hit "Format."

Most online utility sites either log payloads on their backend for analytics or load heavy third-party tracking scripts right next to your pasted tokens.

I wanted a fast, zero-upload developer workbench that runs 100% inside the browser's local memory, so I built JSONForgeKit.

3 Annoying Daily Problems It Solves

1. Fixing "Almost Valid" JSON from Python & Logs

When debugging Python backends or console logs, you constantly run into single-quoted dictionaries ({'status': 'ok', 'active': True}) or trailing commas that make standard JSON.parse() choke.

  • Instead of manually find-and-replacing quotes, the Single Quotes to Double Quotes & Auto-Fixer safely normalizes single quotes, trailing commas, and unquoted keys into strict RFC 8259 JSON without mangling apostrophes inside string values.

2. Stripping Comments from tsconfig.json & Config Files

VS Code settings and tsconfig.json allow // and /* */ comments, which break standard JSON parsers and CI scripts.

3. Instant TypeScript & Zod Schemas from API Responses

Whenever I integrate a new REST endpoint, writing validation schemas by hand is tedious.

Built for Speed & Zero Layout Shift

  • 100% Client-Side: Open your browser's Network tab while formatting or decoding—zero payload data ever leaves your machine.
  • Static Edge Hosting: Hosted on Cloudflare Pages with instant load times and zero CLS.

Give it a try next time you're debugging an API payload: https://jsonforgekit.com. Feedback and feature requests are always welcome!

Top comments (0)