Security

JWT Encoder / Decoder

Encode or decode JSON Web Tokens in your browser. Inspect header, payload, and expiry — optional HS256 signing, nothing sent to a server.

About this tool

What is JWT Encoder / Decoder?

Encode or decode JWT tokens in your browser. Build header and payload JSON, optionally sign with HS256, or decode existing tokens to inspect claims and expiry.

jwt decoderjwt encoderjson web token decoderjwt parser onlinedecode jwt claimscreate jwtjwt expiry checker

FAQ

Frequently asked questions

What is a JWT?

A JSON Web Token (JWT) is a compact, URL-safe token format used for authentication and information exchange. It has three Base64URL-encoded parts: header, payload, and signature.

Is my token safe to decode here?

Decoding and encoding happen entirely in your browser — the token is never sent to our servers. Still avoid pasting production secrets or live credentials into any web tool.

Can you verify the JWT signature?

This tool decodes the header and payload only. Signature verification requires the secret key, which should not be shared with third-party tools.

How does encoding work?

Provide header and payload JSON. With a secret, the tool signs using HS256. Without a secret, you can create an unsigned alg:none token for testing only.

What does 'exp' mean in the payload?

The 'exp' claim is a Unix timestamp indicating when the token expires. When decoding, this tool converts it to a human-readable date and shows whether the token is expired.

Related

automated security

Need continuous coverage?

PandaONE runs autonomous agents against your app, validates findings with proof, and opens fixes as pull requests.

Get started