JWT Decoder & Generator — Free Online Token Tool

Developer Tool

JWT Decoder & Generator — Free Online Token Tool

Decode, inspect, and verify JSON Web Tokens with header and payload views. Generate signed JWTs with custom claims, expiration, and HS256/HS384/HS512 algorithms. 100% client-side — free, secure, nothing uploaded.

InstantPrivateBrowser

100% Private — Nothing sent to any server

A simple example is pre-filled below. Change the user, role, expiry, or secret and your signed JWT updates automatically.

Who the token is for (JWT sub claim)

Optional role stored in the payload

How long is it valid?

Used to sign the token — keep it private

Your JWT

Fill in the fields and click Generate JWT.

Header

{
"alg": "HS256",
"typ": "JWT"
}

Payload

{
"sub": "demo-user",
"role": "user"
}

Related Tools

About This Tool

JWT Decoder & Generator: Inspect and Create JSON Web Tokens

Decode, inspect, verify, and generate JSON Web Tokens (JWT) with HS256/384/512 signing. View header and payload claims, check expiration, and create tokens for development — all client-side.

Key Features

  • Decode JWT header and payload without sending to a server
  • Verify HMAC signatures with your secret key
  • Generate tokens with custom claims and expiration
  • Syntax-highlighted JSON views for header and payload
  • Copy encoded token or individual claim values

Common Use Cases

  • Debug authentication issues in API integrations
  • Inspect exp, iat, and custom claims in access tokens
  • Generate test tokens for local development
  • Verify token signatures during troubleshooting
  • Learn JWT structure for OAuth and OpenID Connect

Benefits

  • Secrets and tokens never leave your browser
  • Instant decode without jwt.io or external APIs
  • Supports common HMAC algorithms used in APIs
  • Free with no rate limits

Decode and Verify JWTs

Paste any JSON Web Token to instantly view its header, payload, and signature. The decoder highlights standard claims like exp and iat with human-readable dates, detects expiration, and lets you verify HMAC signatures with your secret key.

All processing happens in your browser — tokens and secrets are never sent to a server.

Generate Signed Tokens

Use the Generator tab to create JWTs with HS256, HS384, or HS512. Toggle standard claims (sub, iss, aud, exp), add custom key-value pairs, and copy the token or an Authorization header in one click.

Explore More XSular Tools

XSular Tools offers a growing collection of free utilities designed for speed, privacy, and simplicity — all running in your browser with no signup. Word Counter — Free Online Text & Character Counter, Text Case Converter — Free Online Letter Case Changer, Lorem Ipsum Generator — Free Online Placeholder Text Tool, Percentage Calculator — Free Online Percent Math Tool, Reading Time Calculator — Free Online Article Read Time Estimator, or Password Strength Checker — Free Online Security Analyzer.

Frequently Asked Questions