JWT Encoder — Create & Sign JSON Web Tokens Online Free

Create test JSON Web Tokens with HMAC, RSA, or EC algorithms in your browser.

Jump to tool ↓
Browser-side processing — tool input is not uploaded

Frequently Asked Questions

Creating Signed JWT Tokens

Signing a JWT involves three steps: (1) Base64URL-encode the header JSON specifying the algorithm, (2) Base64URL-encode the payload JSON containing your claims, (3) compute a cryptographic signature over header.payload using the secret or private key.

HMAC algorithms (HS256, HS384, HS512) use a shared secret key. Both the token issuer and verifier must know the same secret. This is common for single-server authentication.

RSA and EC algorithms (RS256, RS384, RS512, ES256, ES384, ES512) use asymmetric keys. The issuer signs with a private key; verifiers use the public key. This allows separate token issuance and verification without sharing the private signing key. Keep production keys in your managed signing system rather than pasting them into this page.

Standards & References

Built and maintained by DevDecode. This tool processes your input in your browser; it is not uploaded for processing. Found an issue? Let us know.

Related Tools

Related Guides