dev utility

JWT Decoder & Encoder

Decode a JWT header and payload, or create an unsigned or HS256-signed JWT locally. Decoding never verifies the signature.

Decode or create a JWT

Decode a JWT header and payload, or create an unsigned or HS256-signed JWT locally. Decoding never verifies the signature.

Decoding does not verify the signature. For encoding, provide a payload object or {header, payload}.

How it works

Decode a compact JWT into its header and payload, or create a new unsigned/HS256 JWT from JSON. Decoding does not verify signatures, algorithms, issuer or expiry; encoding is local and the secret is never uploaded. Review claims and secret handling before using generated tokens.

Limits

Questions

Does this verify the JWT signature?

No. Decoding only reads the header and payload. A valid-looking payload does not establish that a trusted issuer signed it; verify signatures in your backend.

How does JWT encoding work?

Provide a payload object or {header, payload} JSON. Leave the secret blank for an unsigned alg=none token, or enter a secret for HS256. The secret stays in this tab.

Is it safe to paste a token?

The token stays in this browser tab, but treat production tokens and secrets as sensitive. Prefer test values when sharing screenshots or debugging.

Privacy

Approved improvement measurement records coarse event counts only: page ready, task started, completed, export requested and a generic failure class. It never records filenames, file contents, text, output, full URLs or a visitor ID. You can turn measurement off for this hostname below.