JSON / JWT / Diff Workbench
Private JSON formatter, JWT debugger, code diff & Gzip codec. Safe for production tokens & payloads.
—
—
Zero-leak developer utilities running strictly in browser RAM
Pasting bearer JWTs, production API responses, .env secrets, or proprietary source diffs into ad-supported web utilities risks leaking credentials to server logs or third-party analytics. Dev Workbench executes JSON parsing, dot-path queries, WebCrypto HS256 verification, LCS unified diffs, and native browser Gzip compression entirely inside your tab with zero outbound network requests.
| Workbench module | Native browser API / algorithm | Key workflow benefit |
|---|---|---|
| JSON Formatter & Query | JSON.parse, recursive key sort, dot/index path resolver | Pretty-print, minify, query paths like users[0].role, and inspect live Gzip byte size. |
| JWT Debugger & HS256 | Base64URL UTF-8 decode + crypto.subtle HMAC-SHA256 | Inspect header/claims, check live exp/nbf timestamps, and verify HS256 signatures offline. |
| Text / Code Diff | Line-based Longest Common Subsequence (LCS) | Compare config files or code blocks with whitespace toggle and download standard unified .patch files. |
| Base64, URL & Gzip Codec | TextEncoder + native CompressionStream("gzip") | Encode/decode UTF-8 Base64, URLs, and compressed Base64-Gzip payloads without installing CLI tools. |
Questions
Why should I decode JWTs and format production JSON offline?
Production JWTs often contain user IDs, scopes, tenant metadata, or session claims, and API responses contain customer PII or keys. Pasting them into cloud-hosted formatters sends sensitive data to third-party logs. Everything here runs strictly in your browser tab.
Can this tool verify a JWT HS256 signature locally?
Yes. Paste your HMAC secret into the optional HS256 Secret box and the tool uses your browser’s Web Crypto API (crypto.subtle.verify) to cryptographically validate the signature offline.
How are the Gzip sizes and Base64-Gzip payloads calculated?
It uses your browser’s native CompressionStream("gzip") and DecompressionStream("gzip") APIs to compute exact wire-level gzip compression ratios locally with zero external libraries.