What is a JWT?
A JWT (JSON Web Token, RFC 7519) is a compact token format that carries JSON claims, commonly used for API authentication and authorization. A token has three parts—Header (algorithm and type), Payload (claims such as user ID and exp expiration), and Signature (integrity check)—each Base64URL-encoded and joined with dots (compact serialization in RFC 7515 (JWS)).
Tool Overview
Use this JWT decoder for JWT decode online: paste a token to inspect the header and payload locally in your browser. It also supports HS-family signature verification with a secret when debugging APIs or authentication. See MDN: Base64 for encoding background.
Need to generate a test token? Use the JWT Encoder.
FAQ (essentials)
What are the three parts of a JWT?
The Header describes the algorithm and type; the Payload holds claims (e.g. user ID, expiration); the Signature is computed from the first two parts and a secret to ensure the token has not been tampered with. All three are Base64URL-encoded and joined with dots (see RFC 7515).
Is the decoded content sent to a server?
Decoding and display happen entirely in your browser; the token and secret are not sent to any server, so you can safely inspect tokens that contain sensitive data.
Why does signature verification fail?
Ensure the secret matches the one used to sign the token. For RS/ES and other asymmetric algorithms, this tool only decodes; verification with a public key must be done on the server.