decode
Ce contenu n’est pas encore disponible dans votre langue.
Parse and display the header, claims, and signature of a JWT without verifying the signature. Useful for quickly inspecting a token regardless of whether you have the signing key.
jwtop decode <token>Example
Section titled “Example”jwtop decode eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJzdWIiOiIxMjM0NTY3ODkwIn0.dozjgNryP4J3jVmNHl0w5N_XgL0n3I9PlFUP0THsR8UOutput:
Header:{ "alg": "HS256", "typ": "JWT"}
Claims:{ "sub": "1234567890"}
Signature:dozjgNryP4J3jVmNHl0w5N_XgL0n3I9PlFUP0THsR8UThe command exits 1 if the token is structurally malformed (not a valid JWT).