CloudAlls Tools
Encoders & Decoders tool

JWT Generator

Create and sign HS256, HS384 and HS512 JSON Web Tokens.

✦ Browser-first

Signing happens in your browser. Use throwaway secrets for testing and never paste production secrets into any website.

Why it is useful

About this tool

Build a JSON Web Token from a header, payload and secret, with one-click iat and exp claims. Signing happens locally in your browser. Intended for testing, not for production secrets.

Quick guide

How to use the JWT Generator

  1. Edit the header and payload JSON.
  2. Enter a secret and use the buttons to add iat or exp claims.
  3. Copy the signed token.

Common uses

  • Creating test tokens
  • Reproducing auth bugs
  • Learning how JWTs are built
FAQ

JWT Generator questions

Which algorithms are supported?

HS256, HS384 and HS512, which use a shared secret.

Is it safe to paste my real secret?

Signing is local, but you should still use throwaway secrets for testing on any website.

How do I read a token back?

Use the JWT Decoder tool to inspect the header and claims.