How it Works
JSON Web Token (JWT) is an open standard (RFC 7519) that defines a compact and self-contained way for securely transmitting information between parties as a JSON object. A JWT consists of three parts separated by dots (.):
- Header: Typically consists of two parts: the type of token (JWT) and the signing algorithm being used, e.g., HMAC SHA256 or RSA.
- Payload: Contains the claims. Claims are statements about an entity (typically, the user) and additional data.
- Signature: Used to verify the message wasn't changed along the way, and, in the case of tokens signed with a private key, it can also verify that the sender is who they say they are.
Note: This tool only performs Base64Url decoding on the Header and Payload. It does not verify the signature (as that requires your secret key, which you should never enter on an online tool). The entire process runs locally in your browser.
Usage Scenarios
-
Debugging: Frontend developers can quickly inspect what user info (like `user_id`, `role`) is inside the backend token.
-
Check Expiration: Token stopped working? Paste it here to see if the `exp` timestamp indicates it has expired.
FAQ
What is a JWT?
Is it safe to paste my token here?
Can I verify the signature?
What is the `exp` field?
What is the `iat` field?
Why do I see garbage characters?
Can I edit the JWT content?
Difference between Base64 and Base64Url?
More Free Tools
Base64 Encoder/Decoder
Free online Base64 tool. Convert text to Base64 and vice versa instantly.
MD5 Generator
Generate 32-bit MD5 hashes online. Support Uppercase/Lowercase. Secure & Fast.
Password Generator
Create strong, secure passwords instantly with custom length and character types.
JSON Formatter
Pretty print, minify, and validate JSON data online with syntax highlighting.
URL Encoder/Decoder
Online URL Encode and Decode tool. Fix broken parameter characters. UTF-8 supported.
UUID Generator
Generate random UUIDs (v4) instantly. Lightweight, copy-paste ready.