Back to Data Tools

JWT Secret Generator

Generate high-entropy signing secrets for HMAC JWT algorithms such as HS256, in Base64URL or hexadecimal.

How to Use2 Quick Steps & Important Notes

How to Use

  1. Choose the number of random bytes and an encoding (Base64URL or hex).
  2. Generate and copy the secret.

What to Expect

  • Store it securely — anyone with this value can forge tokens signed with it.

Generate a JWT signing secret

High-entropy local generation for HMAC JWT algorithms such as HS256.

Output encoding

Store secrets securely. Anyone with this value can forge tokens signed with it. Do not paste production secrets into decoders or logs.