Data & Formats

JWT Builder

Build and HMAC-sign a JSON Web Token (HS256/384/512) with your secret.

For testing only. HMAC (HS*) signing uses a shared secret. Anyone with it can mint valid tokens, so don't paste a production secret here — generate real tokens on your server. To read an existing token, use the JWT Decoder.

Build and sign a JWT

A JSON Web Token is a signed, Base64url-encoded header.payload.signature. This tool builds one from your payload claims and signs it with HMAC (HS256/384/512) and a shared secret — the symmetric scheme where the same secret both signs and verifies. The Add iat + exp button stamps standard issued-at and expiry claims for a one-hour token.

HMAC vs public-key

HMAC is simple and fast but the secret must be shared with every party that verifies — fine within one service, risky across trust boundaries. For third parties, real systems use RS256/ES256, where a private key signs and a public key verifies; those need key material this browser tool deliberately doesn't handle. Signing happens entirely in your browser, but treat any secret you type here as exposed — use throwaway secrets for testing.

These calculators run entirely in your browser — nothing you type is sent anywhere. Results are estimates for planning; validate against your vendor's documentation before you buy or deploy.