Decode a JWT
Decode a JSON Web Token's header and payload without verifying the signature, and report issued-at, not-before and expiry as dates and whether it has expired. The token is not stored. Do not use the result to trust a token. Use to debug auth flows.
Inputs
| Name | Type | Description |
|---|---|---|
token (required) | string | The JWT |
Request
Over HTTP, with a card key from /credits:
curl -H "Authorization: Bearer adt_…" "https://agent-data-tools.revmesh2074.workers.dev/jwt/decode?token=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJzdWIiOiIxMjMiLCJleHAiOjE3OTIyODE2MDB9.sig"
Or one of your 25 free calls, no key:
curl "https://agent-data-tools.revmesh2074.workers.dev/jwt/decode?token=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJzdWIiOiIxMjMiLCJleHAiOjE3OTIyODE2MDB9.sig&trial=1"
Without a key, the same URL answers 402 Payment Required with x402 and MPP terms, so an agent with a wallet pays per call in USDC (Base, Polygon, Arbitrum, Monad, World Chain or Tempo) and retries.
Example result
{
"header": {
"alg": "HS256",
"typ": "JWT"
},
"payload": {
"sub": "123",
"exp": 1792281600
},
"expiresAt": "2026-10-18T00:00:00.000Z",
"expired": true,
"signatureVerified": false
}
From an AI agent (MCP)
Add the MCP server to Claude, Cursor or any MCP client. This tool is jwt_decode, and the first 25 successful calls are free:
https://agent-data-tools.revmesh2074.workers.dev/mcp