VS Code · v2.0
PayloadIQ for VS Code
A full JSON & API toolkit in your editor: convert any payload into typed code, decode tokens on hover, and catch leaked secrets before you commit — using the same generators as the PayloadIQ playground.
Runs entirely in your editor. Nothing is uploaded — no telemetry, no account.
Install · v2.0.0
Install the
.vsix directly, or grab the source ZIP to build it yourself.What it does
Convert a payload into typed code
Select JSON (or open a .json file) → Convert JSON to… → TypeScript · Zod · Go · Rust · Kotlin · Prisma · SQL · JSON Schema · GraphQL · YAML · CSV · mock data · fetch(). Or Ctrl/Cmd+Alt+J. "Paste JSON as…" generates straight from your clipboard.
Inline intelligence on hover
Hover a JWT to see its decoded header & payload and expiry, a Base64 blob to preview its text, or a Unix timestamp to read the date — anywhere, no command needed.
Catch secrets before they ship
A local scanner underlines likely credentials in JSON and .env files as you type — JWTs, AWS/Stripe/GitHub/Google/Slack/OpenAI/Anthropic keys, private keys — plus a full Scan for Secrets & PII report.
Understand & measure
Explain Payload in plain English, a Schema Quality score with fixes, and an LLM Token estimate with a cost range.
Everyday JSON, faster
Format / Minify / Sort Keys in place, Copy Field Paths as dot-notation, and a status bar showing validity, size and key count.
CodeLens & right-click
One-click actions at the top of every JSON file, an editor right-click → PayloadIQ submenu, and a Command Palette full of PayloadIQ: commands.
Install
- 1Download the .vsix file above.
- 2In VS Code, open the Command Palette (Ctrl/Cmd+Shift+P).
- 3Run “Extensions: Install from VSIX…” and choose the downloaded file.
- 4Reload — the PayloadIQ commands, CodeLens, hovers and secret scan are now live.
Works in Cursor too — it shares the VS Code extension host, so the same .vsix installs there.
Privacy
Every conversion, hover decode and secret scan runs in-process on your machine. Nothing is uploaded — no payloads, no telemetry, no remote code. The only network action is opening the playground when you run “Open in Playground”, which encodes the JSON locally into a #piq= URL hash your browser decodes on-device.