TopDev
🔏

JWT Builder & Sign (HS256, Web Crypto)

Build & sign JWT tokens with HMAC-SHA256 (HS256) via the Web Crypto API. Quick claim helpers (iat, exp). For test/dev API auth — runs 100% in your browser.

All tools Browser-only
Common claims:

Tip: use exp: 1778952737 to make the token expire in 1h.

JWT Token
  

JWT Builder signs tokens with HMAC-SHA256 (HS256) via Web Crypto API. Runs 100% in your browser, secret is NOT sent anywhere. Use for test/dev only — production should sign server-side.

When you need to build a JWT

JWT structure

<header>.<payload>.<signature>

Header:    base64url(JSON header)         # alg, typ
Payload:   base64url(JSON claims)         # sub, exp, iat, custom...
Signature: base64url(HMAC-SHA256(
  header + "." + payload, secret
))

Standard claims (RFC 7519)

⚠️ Security warnings

Who this is for

Backend devs, API integrators, anyone debugging JSON/YAML/CSV payloads or working with structured data.

FAQ

Is my sensitive data safe?

Yes. JSON/YAML/CSV you paste is NOT uploaded to any server. All processing happens locally in your browser.

Is there a size limit?

Browser RAM dependent. Files under 10MB run smoothly. Larger files may freeze the tab.

Related tools

See all tools →