JWT Encoder
Create signed HS256 JWTs from JSON
Start
Description
Build and sign JSON Web Tokens (JWT) using HS256 entirely in the browser. Enter header/payload JSON and a secret to produce a compact token.
How to Use
- Provide payload JSON.
- Set a secret for HS256 signing.
- Generate and copy the token.
Example
Example
Payload {"sub":"123"} + secret abc → eyJ…
FAQ
Algorithms?
This tool uses HS256 (HMAC‑SHA256). Other algs are not supported.
Security?
Signing happens locally via Web Crypto; secrets are not sent anywhere.