Who this helps
- Developers preparing local API fixtures
- Learners inspecting JWT segments
Developer Utility
Enter Header, Payload, and Secret values to generate an HS256 JWT token and inspect its Header, Payload, and Signature structure at a glance.
Enter Header JSON, Payload JSON, and Secret Key, then generate a JWT.
This page creates development-only HS256 signatures. Never enter production secrets or admin tokens, and remember that JWT Payload data is encoded, not encrypted.
RFC 7518 requires an HS256 key of at least 32 bytes. Generate and store production keys in a secure server-side secret manager.
sub: User or subject identifiername: User name or display nameiat: Token issued timeexp: Token expiration timeJWT Payload can be easily decoded, so avoid including sensitive values such as passwords, resident numbers, or API keys.
Check the generated JWT token and its Header, Payload, and Signature structure.
JWT generation result will appear here.
-
-
-
Create a development JWT from JSON header and payload objects and a test secret. The payload stays readable; the signature does not hide its contents.
Use an HS256 header object and a payload object.
Enter public test claims only.
Use whole Unix seconds for exp, nbf and iat in this tool.
Generate a random test secret or enter at least 32 UTF-8 bytes.
Generate, inspect the three segments and validate the token in your target application.
Signing uses the UTF-8 text entered as the secret, without automatic hex decoding.
Generate again for the new input.
Header and payload JSON are UTF-8 encoded, Base64url encoded and joined with a dot. Web Crypto HMAC-SHA-256 signs that string. A random secret is 32 random bytes shown as 64 hex characters; the displayed text is used as the key.
JSON and keys are processed locally. Do not enter production keys or sensitive claims; tokens and copied output remain readable.
Enter text to generate MD5, SHA-1, SHA-256, and SHA-512 hash values directly in your browser. The input is processed locally and is not sent to the server.
Generate UUID v1 and UUID v4 at the same time and compare the differences between time-based and random-based UUIDs.
No. Anyone with the token can decode the header and payload.
The generator checks input form, not the current validity of an application's claims.
No. For this output, use the same displayed string as UTF-8 bytes. Hex decoding would use a different key.