JWT decoder
Paste a JSON Web Token to see its header and payload as formatted JSON, its dates in plain language and whether it has expired. Add the secret or the public key to verify its signature. Tokens often grant access to an account: here they are decoded in your browser and never leave your device, unlike most online decoders.
Your data never leaves your device
The token is decoded on your device: it is never sent anywhere.
How to use JWT Decoder
- 1
Paste the token (with or without “Bearer”).
- 2
Read the header, the payload and the dates (expiration, issue date).
- 3
To check the signature, enter the secret (HS256…) or paste the public key (RS256, ES256…).
Frequently asked questions
Is it safe to paste a real token here?
Yes. The token is decoded and verified by your browser, on your device: it is never sent to a server, logged or stored. That matters because a valid token usually gives access to an account or an API, like a password would.
Can anyone read the content of a JWT?
Yes. A signed JWT is only encoded, not encrypted: anyone who has it can read its header and payload. The signature only proves that the content was not changed. Never put secrets in a JWT payload.
How do I verify the signature?
For HS256, HS384 or HS512, enter the shared secret. For RS256, PS256, ES256 and their variants, paste the public key in PEM format (-----BEGIN PUBLIC KEY-----) or as a JWK. The result says whether the signature matches.
Why does it say “expired”?
The “exp” claim is the expiration date of the token, in seconds since 1970. When it is in the past, servers should refuse the token. The tool compares it with your device’s clock and shows the date in your time zone.
What is the “alg none” warning?
A token with the algorithm “none” has no signature: anyone can create or modify it. A server should never accept it, and its content should not be trusted.
Related tools
-
Base64 Encoder and Decoder
Encode text or files to Base64 and decode Base64 back, data URLs and Base64url included. -
Hash Generator
Compute MD5, SHA-1, SHA-256 and SHA-512 hashes of text or files, and compare them. -
JSON Formatter
Format, minify and validate JSON with precise error messages (line and column). -
JSON to CSV Converter
Convert JSON to CSV for Excel, or CSV to JSON, with a table preview.