Decode and inspect JSON Web Tokens (JWT). Enter your JWT token to see the header and payload information.
JWT (JSON Web Token) is an open standard for securely transmitting information between parties as a JSON object. These tokens can be verified and trusted because they are digitally signed. JWTs can be signed using a secret or a public/private key pair.
JWT tokens are encoded and signed, but not encrypted by default. The information can be decoded but not modified without the secret key.
The validity period depends on your security requirements. Access tokens typically last 15 minutes to a few hours, while refresh tokens can last longer.
While possible, it's recommended to store tokens in httpOnly cookies to prevent XSS attacks. Consider your security requirements when choosing storage methods.