Encoding converters
JWT Inspector
Decode and verify a JWT online: split header, payload and signature, pretty-print the claims, humanize iat/nbf/exp times, spot expired tokens and verify HS256/RS256/ES256 signatures with your key or the issuer's JWKS — safely, 100% in your browser.
Paste a JSON Web Token and read it — header, claims and signature — with timestamps in plain words and precise structural feedback when something is off. Verify HS* tokens with your secret, RS*/PS*/ES* with a public key or directly from the issuer's JWKS, and build new HS* tokens in the builder. Everything runs in your browser; keys and tokens are never uploaded anywhere.
HEADER
PAYLOAD
SIGNATURE
SIGNATURE VERIFICATION
CLAIMS BREAKDOWN
Every claim in the payload — registered JWT claims get their RFC 7519 meaning, custom claims are marked as application-defined.
Build and sign an HMAC token locally: edit the header and payload JSON, type a secret, press sign. Use it for local testing and reproducing exact tokens — for production issuance keep signing on your server.
How to use
JWT Inspector, step by step
- 01
Paste the whole token — with or without a leading "Bearer " — into the box, or use the example button. The three segments are parsed as you type, no key required.
- 02
Optionally verify the signature right here in your browser: for HS* paste the shared secret (plain or Base64); for RS*/PS*/ES* paste the public key as PEM or JWK — or press "Fetch issuer keys" to pull the JWKS from the issuer directly. The token and key never leave this device.
- 03
Read the header, claims and signature, check the verified/expired verdict, or switch to Builder to sign an HS* token of your own and decode it back again.
FAQ
Frequently asked questions
In a tool that never transmits it. This page runs the whole check with the Web Crypto API inside your browser: for HS256/HS384/HS512 paste the shared secret and the token is re-signed and compared byte-for-byte; for RS256, PS256 or ES256 paste the public key — verification only needs the public half, which is safe to paste anywhere. You can watch the network tab: nothing is sent.
Decoding just Base64URL-unes the header and payload — anyone can do it, no key required. Verifying re-computes the signature from header + payload with a key and compares it to the signature segment: only that proves the token was produced by the holder of the key and was not modified en route. Tokens from an unknown source should never be trusted on "decodes nicely" alone.
Often, yes. If the token has an iss claim pointing at a known provider (Auth0, Okta, Cognito, Azure AD, Google, Keycloak, GitHub Actions, Supabase, Clerk), the page shows the recognized provider and its keys endpoint. Press "Fetch issuer keys" and the browser itself downloads the JWKS document, picks the key with the token's kid and verifies against it. The request goes from your browser straight to your IdP — this site only displays the URL.
alg:none is a legitimate JWS header value meaning "unsigned", and libraries have a long history of accepting it by mistake even though it must be rejected in most contexts. If an application trusts a token with alg:none, anyone can forge it. If you meet such a token, treat the whole document as hostile and review the relying party’s code.
Five segments means it is a JWE (encrypted, RFC 7516), not a JWS (signed) — the payload is ciphertext that cannot be read without the decryption key, so there is nothing to inspect without one. This page detects JWEs explicitly and says so, instead of showing a misleading parse.
HMAC needs a shared secret you can legitimately hold and paste; RSA or ECDSA signing needs the private counterpart, which belongs inside a server or key vault, not in a browser form field. The inspector happily verifies RS*/PS*/ES* tokens with public keys — producing them is the job of your auth server.
It is a faithful RFC 7519 signing path — Web Crypto HMAC followed by true Base64URL encodings — great for local testing, demos and reproducing a bug with an exact token. For production issuance, tokens should be minted server-side by your identity provider, where secrets live in memory only.
Related tools