What is a JSON Web Token (JWT) & SD-JWT?
JSON Web Token (JWT) is an open standard (RFC 7519) for transmitting signed JSON claims between parties across three Base64Url segments: Header, Payload, and Signature. SD-JWT (Selective Disclosure JWT, RFC 9901) extends standard JWTs by appending tilde-separated (~) disclosure strings and an optional Key Binding JWT (kb+jwt). This lets identity holders prove specific attributes (such as over_18: true) while keeping undisclosed claims cryptographically hidden inside salted SHA-256 digests (_sd).
How to Decode & Verify a JWT Offline
eyJ... token, an Authorization: Bearer ... header (auto-stripped), a tilde-separated SD-JWT, or drop a local .jwt file.iat, nbf, and exp epochs into human-readable dates and relative countdowns.How SD-JWT Selective Disclosure Verification Works
When you paste an SD-JWT (for example, from OpenID4VC, EUDI Wallet, or modern OAuth 2.0 / OIDC flows), Bramhify automatically detects the ~ delimiter, decodes each Base64Url disclosure array ([salt, claim_name, claim_value]), computes its digest locally via the browser's native Web Crypto API (SHA-256, SHA-384, or SHA-512 per _sd_alg), and verifies whether each digest matches an entry inside the Issuer JWT's _sd array. If a Key Binding JWT is attached, we also verify its sd_hash against the preceding SD-JWT presentation.
HS256 vs RS256 vs ES256 — Working with Signing Keys
Symmetric tokens (HS256) rely on a shared secret, while asymmetric tokens (RS256, PS256, ES256, EdDSA) are signed with a private key and verified with a public key. Need keys to sign or test RS256/ES256 tokens in PHP, Node.js, or API gateways? Generate them offline with our Public & Private Key Pair Generator, or unlock passphrase-protected PEM files with our Encrypted Private Key Decryptor.
Are JWT payloads encrypted? Is it safe to decode online?
Standard JWT payloads are Base64Url encoded, not encrypted — anyone who intercepts a token can read its claims. Never put passwords or sensitive PII in a plain JWT payload. Because Bramhify's JWT & SD-JWT decoder runs 100% client-side in your browser with zero network requests, your production access tokens, signing secrets, and selective disclosures never leave your machine. Read more in our JWT Security & Decoding Guide.