JWT Encoder / Signer
Create and sign a JSON Web Token in your browser with HS256, RS256, PS256, ES256 and EdDSA. Keys never leave the page.
Shortcuts: Ctrl+Enter run · Ctrl+Shift+C copy result · / search (use ⌘ on Mac)
Next steps
Done here? Use the Send to… menu on the result to carry it on to JWT Decoder, Base64URL & Base32 Converter or JSON Parser.
Free Online JWT Encoder and Signer
Write a header and payload, add the claims you need, choose an algorithm and get a signed token. Everything happens in your browser. It gives developers a quick browser-based way to solve a focused jwt encoder / signer task before moving the result into a project.
How to create a JWT
Choose an algorithm, edit the payload (and header if you need extra fields such as kid), add a secret or private key and press Sign. The claims builder adds iss, sub, aud, exp, iat and jti for you.
Test keys
Generate test key pair creates a secret (HS) or a new private and public key (RS, PS, ES, EdDSA) so you can sign and then verify the token elsewhere.
Common mistakes
- The algorithm in the header always follows the dropdown. A different
algtyped into the header is replaced. - Short secrets are accepted but weak: use at least 32 bytes for HS256.
expandiatare in seconds since 1970, not milliseconds.