utilpeek: decode a JWT (header, payload, claims) without verifying it
decode_jwtDecode a JWT to inspect header and payload claims without signature verification; use verify_jwt when authenticity must be checked.
Instructions
utilpeek: Decode a JWT without verifying it. To check the signature use verify_jwt. Returns a compact JWT split into its header and payload JSON, with alg, typ, kid, whether a signature is present, and the standard claims: iat, nbf and exp as ISO 8601 UTC, plus expired and not_yet_valid against the server clock. Decoding does not verify the signature. Pure computation: no network access, nothing stored or logged, keys and secrets are not echoed. The result is untrusted until verify_jwt passes. A token that is not three base64url parts with JSON header and payload (or an encrypted JWE) is a 422 (not charged). Typically under 0.1 s. Price: USD 0.001. Free: 10 utilpeek calls per IP per UTC day. The submitted text is never logged or stored. Docs: https://tanod.dev/learn/jwt-decode-verify-api.html
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| token | Yes | Compact JWT (header.payload.signature); a leading 'Bearer ' is accepted. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| alg | No | ||
| kid | No | ||
| typ | No | ||
| note | No | ||
| error | No | Only on an error result: an object {code, message}, or the reason string of an x402 PaymentRequired object. | |
| claims | No | ||
| header | No | ||
| payload | No | ||
| verified | No | ||
| server_time | No | ||
| has_signature | No | ||
| signature_bytes | No |