Paste your JWT
JSON Web Token
A JWT is a compact, URL-safe token with three Base64URL-encoded parts separated by dots: header.payload.signature. Widely used for API authentication and session management.
Three parts
Header -- algorithm and token type.
Payload -- claims (user data, expiry, issuer).
Signature -- verifies the token hasn't been tampered with.
Signatures need a secret
This tool decodes (base64) the payload -- it does not verify the signature. Never trust a JWT without verifying its signature server-side using your secret key.
Verifying in PHP
firebase/php-jwt is the standard library.JWT::decode($token, new Key($secret, 'HS256'))
Always verify before trusting any claims.
JWT, OAuth, session security, and password hashing -- covered in our PHP developer ebooks and courses.