JWT Encoder

Build and HMAC-sign a JSON Web Token in the browser.

The reverse of the JWT Decoder: build a JSON Web Token from a header and a payload, sign it with HMAC, and get the signed token back. Everything runs in your browser with WebCrypto — the secret never leaves the page.

Never sign a real token with a production secret in a browser tool — for anything real, sign on your server. none means no signature at all and is rejected by every real verifier.

사용 방법

  1. 모든 것은 브라우저에서 로컬로 실행됩니다. 데이터가 업로드되지 않으며 계정이 필요 없습니다.

소개

Paste a header and a payload, choose HS256, HS384 or HS512, and get a signed token back. The secret is used locally with WebCrypto and is never transmitted anywhere.

Tokens are signed with HMAC, the family of algorithms used for symmetric shared-secret tokens. The "none" option produces an unsigned token for debugging only — every real verifier rejects it.

모든 것은 브라우저에서 로컬로 실행됩니다. 데이터가 업로드되지 않으며 계정이 필요 없습니다.

Embed this tool

Customize and copy an iframe. Linking back helps both sites.

Open preview