Azlaan Electric AC Solar Center — Solar, CCTV, AC & electrical work, Faisalabad Call: 0300-8987448

JWT Encoder

Build and sign a JSON Web Token with HMAC (HS256, HS384 or HS512) using the Web Crypto API — signing happens entirely in your browser, and the secret never leaves this page.

How to use

  1. Edit the header and payload JSON — change the alg field if you pick a different algorithm below.
  2. Enter the signing secret and choose HS256, HS384 or HS512.
  3. Click Sign token and copy the resulting JWT.

Note: HMAC secrets must stay secret — anyone holding the secret can forge tokens. This tool is for development and testing; production tokens should be signed on a server.

Tips