Token Playground
Generate tokens, encode bytes, and create/verify signed tokens. See full documentation.
Generate Token
0 chars
256 bits entropy
32
hex — 2 chars/byte (API keys)
base64url — URL-safe (sessions, cookies)
alphanumeric — A–Z, a–z, 0–9 only
Byte Encoding
16
hex
bbce1b507511398336f16175864ebd5f
base64
u84bUHUROYM28WF1hk69Xw==
base64url
u84bUHUROYM28WF1hk69Xw
alphanumeric
BUbS3R5H23j3KQDh
Signed Tokens
Signing runs on the server (it needs node:crypto). Keys are throwaway demo keys — never paste a real secret. Verify only accepts the algorithm you pick, never the token's own alg header.
Shared secret (32+ bytes).