DevMate
Back to Toolverse

Web

JWT Parser

Decode a three-segment JWT to inspect its JSON header, payload and declared timestamps locally. Understand malformed tokens and why decoding is not verification.

Local processing
Loading tool workspace...

About this tool

When to use it

Decode a three-segment JWT to inspect its JSON header, payload and declared timestamps locally. Understand malformed tokens and why decoding is not verification.

How to use it

For authentication debugging, use a synthetic token or a token from an authorized test environment. Paste the compact token without the Bearer prefix, then select Decode JWT. Inspect the header and payload and compare declared times with the issuing system. Clear removes the input and decoded details. There are no dedicated copy or download controls; manual text selection is available.

Guide updated . Examples checked against this implementation.

Worked examples

Inspect a deliberately unsigned fixture

Input

eyJhbGciOiJub25lIn0.eyJzdWIiOiJkZW1vIn0.

Expected output

Header: {"alg":"none"}
Payload: {"sub":"demo"}
Signature segment: (empty)
Issued at: Not declared
Expires at: Not declared
Expired: Unknown

The final dot is required for the empty third segment. This fixture demonstrates readable claims only. It is not an authentication credential and must not be accepted by a production verifier.

Errors and unsupported input

eyJhbGciOiJub25lIn0.eyJzdWIiOiJkZW1vIn0

Only two segments are present. Copy the entire original token including both dots. Do not invent a missing signature for a real token.

invalid.e30.

The first segment is not a decodable JSON header. Obtain the original token, remove any Bearer prefix and check for truncation or copied quotation marks.

Continue this workflow

Format references

Questions

Frequently asked questions

Does Expired: No mean I can trust the token?

No. It only compares the declared expiry to this device clock. The token may have a forged signature, wrong issuer or audience, or other invalid claims.