What you can do
- Header and payload decoded into formatted JSON.
- "Bearer" prefix and stray whitespace removed automatically.
- iat, nbf and exp converted to readable dates with relative time ("expired 3 hours ago").
- A warning when the token is expired or uses alg: none.
- The token is processed only in your browser and is not saved.
Frequently asked questions
Does the decoder verify the JWT signature?
No. It shows the header, payload and expiry, but verifying the signature needs the key or secret, which should never be pasted into a website.
Is it safe to paste a production token?
The token is not sent to any server: decoding happens in JavaScript in your browser. It's still good practice not to share tokens that are still valid.
Why does my token show as expired?
The exp claim holds the expiry in epoch seconds. The decoder compares it with your computer's current time and shows how long ago it expired.
More developer tools
- JSON formatter and validator โ Format, minify, validate with the error's line and column, and sort keys, without losing precision on big numbers.
- XML formatter โ Format, minify and check it's well-formed (SOAP included, unfortunately).
- Base64 encode and decode โ Encode and decode UTF-8 text, URL-safe variant, files and binary content.
- URL encode, decode and parser โ Encode and decode, and break a URL down into its parameters.
- JSON, YAML and CSV converter โ Conversion to and from JSON, with automatic, comma or semicolon delimiter.
- SHA-256 and HMAC hash generator โ SHA-1/256/384/512 and HMAC of text and files, with checksum verification.
- UUID v4 and v7 generator โ Bulk v4 and v7 generation, and inspection of existing UUIDs with creation date.
- Diff checker for text and JSON โ Compare two texts or JSON documents with word-level highlighting and patch export.
- Regex tester โ Live testing with named groups, replacement and protection from catastrophic backtracking.
- Unix epoch timestamp converter โ Unix epoch in seconds, milliseconds, micro and nano, time zones and ISO week.
- Cron expression explainer โ Plain-English explanation of crontab, Spring and Quartz expressions with the next runs.
- Working days calculator โ Man-days and hours between two dates or a deadline N days out, with holidays, patron saint and time off.