Guide · Developer Tools / Crypto, Encoding & Auth
About Local HS256 JWT Test Token Signer
Sign JSON claims locally with HMAC-SHA256 via Web Crypto SubtleCrypto to generate verifiable HS256 JWT tokens for local API and middleware testing.
When to use this tool
Mint short-lived local test JWTs when mocking auth middleware in unit/integration environments without spinning up an identity provider.
How to use Local HS256 JWT Test Token Signer
- Edit JWT Claims JSON (e.g., `sub`, `role`, `exp`).
- Provide a test HS256 Signing Secret.
- Copy the signed `header.payload.signature` JWT.
Supported inputs, options, and outputs
- Inputs: JSON claims object and symmetric HS256 secret string.
- Output: Base64URL-encoded signed HS256 JWT.
Accuracy notes and limitations
- Supports symmetric HS256 test tokens only—never hardcode or reuse production signing secrets inside client browsers.
Privacy and browser processing
Security tokens, keys, certificates, OpenAPI schemas, and network payloads are parsed strictly inside browser memory—nothing is logged or uploaded to IJM servers. Hosted deployments load cookie-free analytics and Google Fonts.
Read the full IJM Privacy Policy or browse all Developer Tools.