JWT structure
JWT has three base64url parts: header.payload.signature.
Generate signed HS256 JWTs from custom header and payload JSON locally.
Updated
Quick start
Provide header/payload JSON and shared secret to sign token.
Adjust header and payload JSON.
Provide HS256 secret key.
Copy signed JWT for testing.
In-depth guide
Generate HS256 JSON Web Tokens locally by providing header, payload and shared secret.
JWT has three base64url parts: header.payload.signature.
Never embed production secrets in frontend code; this tool is intended for testing and debugging workflows.
Use this tool for quick browser-based work when you need an answer or output immediately. Use a dedicated application or automated workflow when you need bulk processing, approvals, or repeatable production rules.
This release supports HS256 signing.
No. Signing is done locally using WebCrypto HMAC.
Use the existing JWT decoder tool to inspect claims and signature segments.
Keep exploring
Hand-picked utilities that pair well with the one you're on — all free, client-side, and zero-signup.
Encrypt and decrypt text locally with AES-256-GCM and passphrase-derived keys.
Generate 6-digit rolling TOTP codes and otpauth URIs from Base32 secrets.
Check password breach exposure using Have I Been Pwned k-anonymity range API.
Shrink PDF file size without uploading to a server.
Body Mass Index with metric / imperial inputs and WHO category bands.
Combine multiple PDFs into one in your browser.
Split a PDF by pages or page ranges, download as zip.