Skip to content
Local

Security

JWT Generator

Write the claims, pick HS256, RS256, PS256, ES256 or EdDSA, and get a signed JSON Web Token to copy.

Runs in your browser. Nothing leaves this device.

Open JWT Generator

Free, no account, no watermark and no daily limit.

Open JWT Generator

How to use JWT Generator

  1. 1Edit the claims, or keep the sample.
  2. 2Pick the algorithm and type a secret, or use the key made for you.
  3. 3Copy the token, and the public key if you need to verify it.

Questions

Is the token signed for real?

Yes. It is signed in your browser with the Web Crypto API, so any JWT library can verify it with the same secret or the public key shown.

Where does the private key come from?

For RS, PS, ES and EdDSA a fresh key is made on this page. You can paste your own unencrypted PKCS#8 key (BEGIN PRIVATE KEY) instead.

Should I paste a production secret here?

Nothing leaves your browser, but it is safest to use test secrets and keys for test tokens.

How do I read a token?

Use the JWT Decoder to see the header and claims of any token.

Is it free?

Yes. No account, no watermark and no daily limit.

Esc