Back to DevForge Tools
DevForge Tools

JWT Decoder

Decode and inspect JSON Web Tokens instantly. Everything runs in your browser — no data is ever sent to a server.

100% Client-Side Expiration Check Syntax Highlighted
Header (JOSE)
Payload (Claims)
Signature

Need this as an API?

Use the TextForge API to decode JWTs programmatically. Free tier includes 50 requests/day.

curl -X POST http://69.62.106.38:3100/api/jwt/decode \ -H "Content-Type: application/json" \ -H "X-API-Key: your-api-key" \ -d '{"token": "eyJhbGciOiJIUzI1NiIs..."}'
Get Free API Key

What is a JSON Web Token (JWT)?

A JSON Web Token (JWT) is a compact, URL-safe means of representing claims to be transferred between two parties. JWTs are commonly used for authentication and information exchange in web applications, APIs, and microservices architectures.

JWT Structure

Every JWT consists of three Base64URL-encoded parts, separated by dots:

How This JWT Decoder Works

This tool decodes the header and payload portions of a JWT by Base64URL-decoding each part and parsing the resulting JSON. It runs entirely in your browser using JavaScript, so your tokens never leave your device. The tool also checks standard time-based claims (exp, iat, nbf) and displays their human-readable timestamps.

Common JWT Claims