Create signed JWT tokens for development and testing
This JWT Generator creates compact JSON Web Tokens using HMAC SHA-256, SHA-384, or SHA-512. The header, payload, and signature are assembled according to the compact JWS representation used by common JWT libraries.
You can enter custom JSON claims, add registered claims such as
iss, sub, aud,
iat, exp, and jti,
then verify the resulting signature with the same key.
JWT signing is not JWT encryption
The signature protects token integrity and authenticity when the verifier holds the correct key. It does not hide the protected header or payload, both of which remain readable after Base64url decoding.
Keep production signing keys on the server
Browser signing is useful for local development, API testing, demonstrations, and controlled debugging. Production systems should sign HMAC tokens in trusted backend infrastructure where the secret cannot be extracted by browser users.