Skip to content
MewixMewix

JWT decoder

Paste a JSON Web Token to pretty-print the header and payload — signature verification is intentionally not performed.

Updated by the Mewix team

Three dot-separated parts

A JWT looks like header.payload.signature. This decoder Base64url-decodes the first two segments and prints indented JSON. The third part is ignored because verifying signatures needs trusted keys and algorithms — not something a paste box should pretend to do.

Reading exp and other claims

Payload fields such as exp (expiry as Unix seconds), sub, or custom roles appear as plain JSON. Compare exp to the current time when debugging “token expired” errors — decoding does not tell you whether the token is trustworthy.

Questions

Can I paste production bearer tokens here?

Tokens are secrets. Processing stays in-browser, but logs, screenshots, or shared desktops can leak them. Prefer redacted samples when teaching or documenting.

Why does decode fail on my string?

You need at least header and payload separated by dots. A raw Base64 blob or a JWE encrypted token is not a decodable signed JWT in this tool.