JWT Decoder & Verifier Online - Tokens Decode aur Validate karein
{ }
{ }
-
{ }
-
Decoded payload ko clean karna hai?
JSON Formatter use karein.
{ }
{ }
-
{ }
-
JSON Formatter use karein.
JSON Web Tokens (JWT) compact aur URL-safe tokens hote hain, jinhe applications ke beech authentication aur secure data exchange ke liye use kiya jata hai. Ek JWT mein dots (.) se separated 3 parts hote hain:
Header.Payload.Signature
JWT decode karne se developers in values ko inspect karke confirm kar sakte hain ki token valid hai ya nahi.
Niche JWT ka ek simple example hai:
eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9
.
eyJzdWIiOiIxMjM0NTY3ODkwIiwibmFtZSI6IkpvaG4gRG9lIiwiaWF0IjoxNjAwMDAwMDAwLCJleHAiOjE5MDAwMDAwMDB9
.
SflKxwRJSMeKKF2QT4fwpMeJf36POk6yJV_adQssw5c
{
"alg": "HS256",
"typ": "JWT"
}
Yeh dikhata hai ki token HS256 algorithm use karta hai aur ek standard JWT hai.
{
"sub": "1234567890",
"name": "John Doe",
"iat": 1600000000,
"exp": 1900000000
}
Key Fields ki Explanation:
JWT ka last part Signature hota hai, jo yeh ensure karta hai ki:
Verification inke dwara hota hai:
Agar verification fail hota hai, to token par trust nahi kiya jana chahiye.
Developers usually JWT decode karte hain:
Yeh tool bina kisi token ko server par store kiye fast aur secure inspection ki permission deta hai.
Common reasons include: