If you've worked with modern authentication systems, you've likely seen a long string starting with "eyJ" โ€” that's a JWT (JSON Web Token). Here's what it actually is and how to inspect what's inside one.

What Is a JWT?

A JWT is a compact, self-contained way to securely transmit information between two parties, most commonly used for authentication. When you log into a website, the server often issues a JWT that your browser stores and sends with future requests to prove you're logged in โ€” without the server needing to look up your session in a database every time.

The Three Parts of a JWT

A JWT consists of three parts separated by dots: header.payload.signature

Decoding vs. Verifying โ€” An Important Difference

โš ๏ธ Important: Decoding a JWT just reads its contents โ€” it does NOT verify the token is authentic. The header and payload are only Base64-encoded, not encrypted, so anyone can decode and read them. Only the signature (which requires the secret key) proves the token is genuine and unmodified.

This means you should never trust the contents of a JWT without verifying its signature server-side. Decoding is useful for debugging and inspection โ€” not for security decisions.

Decode any JWT instantly and inspect its header and payload.

๐Ÿ”‘ Try the Free JWT Decoder
ADVERTISEMENT

Common Uses for a JWT Decoder

Our free JWT Decoder instantly decodes any token and displays its header and payload in readable format โ€” right in your browser, with nothing sent to a server.