JWT PreviewA Visual Studio Code extension for viewing JWT token contents in a clear, readable format. Copy a token, paste one, or select one in the editor to inspect its Header and Payload as readable JSON, with standard claims formatted for quick reading. If you have the signing key, the panel can also check the signature — without sending anything anywhere.
PrivacyNo telemetry. No network requests. Tokens and keys are never stored. The clipboard is read only when you run a command, and never written to. Decoding and signature verification both run on your machine, so nothing you paste in leaves it. See SECURITY.md for the full scope. Features
Verifying a signatureVerification is optional. Leave the key field empty and the extension only decodes and displays. Paste a key into it and the panel reports whether the signature matches. Supported algorithms:
Public keys are accepted as PEM — a A result of signature valid means the token was signed by the key you
supplied and has not been altered since. It is not a full validity check: the
The algorithm is taken from the token's own header, as in any token viewer, so a result here tells you whether the token matches a key you already trust. It is a reading aid rather than an authentication decision, and no substitute for verification inside the system that consumes the token. What it does not doIt cannot fetch a key for you: a UsageCopy a token, open the Command Palette ( To decode a token that is already in your editor: select it, right-click, and choose JWT: Decode Selected Token. With nothing selected, this command falls back to the clipboard as well. To check a signature, paste the key or secret into the Verify signature field below the token; the result appears directly underneath it. Leaving that field empty skips verification entirely. InstallationInstall "JWT Preview" from the Visual Studio Code Marketplace, or download a
Feedback and security
License |
