WAVESPEED AI JWT ENCODER Works in your browser
100% FREE

JWT EncoderCreate and sign JSON Web Tokens for testing.

Edit the header and payload, choose the algorithm and sign with a secret or a private key.
Set issued-at and expiry with one click, then open the token in the decoder to check it.

Signed in your browserHS, RS, PS, ES, EdDSAOne-click exp and iat
No sign-up No upload No limits

Tokens and keys never leave your browser.

Header & payload

Signed token

Enter a secret to sign the token.

Signed in your browser. Use generated tokens for testing; production tokens should come from your auth server.

Tokens and keys stay on your device.
THREE SIMPLE STEPS

How to use the JWT Encoder

01

Write the claims

Edit the payload JSON, and use the buttons to set iat to now and exp an hour or a day ahead.

02

Choose a key

Enter a secret for HS256/384/512 or generate a random one, or paste a private key for RS, PS, ES or EdDSA.

03

Copy the token

Copy the signed token, or open it in the decoder to verify the signature.

WaveSpeed AI

Building something with an API?

Generate images, video and 3D models from your own code with WaveSpeed AI.

  • 1,000+ AI models
  • Image, video and 3D
  • Pay as you go

$1 in free credits for eligible new accounts. No card needed. Generators have separate account and credit requirements. The JWT decoder is free.

JWT Encoder FAQ

Is my secret or private key uploaded?

No. Signing uses your browser’s built-in cryptography and nothing is sent anywhere.

Which key formats can I use?

A text, base64, base64url or hex secret for HS algorithms; a PKCS#8 PEM (BEGIN PRIVATE KEY), an RSA PEM (BEGIN RSA PRIVATE KEY) or a private JWK for the others.

How long should an HS256 secret be?

At least 32 random bytes (256 bits). The random secret button makes one of the right length for the algorithm.

Should I use these tokens in production?

Use them for testing and development. Production tokens should be issued by your authentication server, with keys kept in a secrets manager.

Is it free?

Yes, free with no sign-up.

All Free Tools

JWT Encoder

Signed in your browser · HS, RS, PS, ES, EdDSA · One-click exp and iat

Start converting