Skip to content
Browser tool Runs locally

JWT Decoder

Decode JWT headers and payloads locally without verifying the signature.

JWT token
Header
Decoded header will appear here.
Payload
Decoded payload will appear here.

Parsed-data tools accept up to 1 million characters, 128 nesting levels and 20,000 values or containers. Integers must stay within ±9007199254740991; decimals that would change value and negative zero are refused. Quote exact identifiers or numbers outside these limits. The JSON Formatter and Minifier preserve original number tokens.

Decoded locally in your browser. Decoding does not verify the token signature or prove the token is trustworthy.

Inspect a token header and payload

A signed JWT typically has three dot-separated parts: a header, a payload, and a signature. The first two are Base64URL-encoded JSON. Paste a token above and select Decode JWT to inspect those two documents without sending the token to an Odelvo processing server.

This is useful when checking which claims an authentication system emitted or investigating a timestamp mismatch. It is an inspection tool; it does not log you into a service or authorize an action.

Try an illustrative token

This sample contains fictional data and a deliberately invalid demonstration signature. It is useful for testing decoding and must not be used as a credential.

eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJzdWIiOiJkZW1vLXVzZXIiLCJyb2xlIjoicmVhZGVyIiwiaWF0IjoxNzAwMDAwMDAwfQ.ZGVtby1zaWduYXR1cmU

The decoded payload is:

{
  "sub": "demo-user",
  "role": "reader",
  "iat": 1700000000
}

The header declares HS256 and JWT. Seeing that declaration does not prove that anyone signed the token with the appropriate key.

Understand common claims

ClaimTypical purpose
subIdentifies the subject of the token
iss / audIdentify the issuer and intended audience
expExpiration time, in Unix seconds
iat / nbfIssued-at and not-before times, in Unix seconds

The decoder displays readable times for numeric exp, iat, and nbf values when present. These use your browser's local timezone. A Unix timestamp uses seconds here; supplying milliseconds can produce an unexpected date.

Decoding does not establish trust

Encoded text is readable, not encrypted. Anyone who has a token can inspect or alter its readable claims. A service must separately verify the signature with an allowed algorithm and the correct key, and check the issuer, audience, expiration, and other requirements before trusting those claims.

This decoder performs none of those authorization checks. A displayed role, subject, or expiration date is unverified input, even when the JSON looks plausible.

Common decoding errors and privacy

Copy the token itself, without a Bearer prefix or surrounding quotes. The decoder expects three parts containing readable JSON in the header and payload. An encrypted five-part JWE, an opaque access token, or damaged Base64URL text cannot be inspected with this tool.

Use fictional or redacted data when sharing examples or screenshots. Tool inputs stay in the browser for processing, while the website also uses analytics and advertising as explained in the privacy policy.

Frequently asked questions

Does decoding verify the JWT signature?
No. It only decodes the header and payload. Treat the contents as untrusted until the signature and claims are verified by the system using the token.
Is my token uploaded?
No. Decoding happens in your browser. Do not paste production secrets into tools you do not trust.
What are exp and iat?
exp is commonly the expiration time and iat is the issued-at time, represented as Unix timestamps when those claims are present.

Related tools