{"uid":"cap_t4eTMzerKudltUaQTD1B_","slug":"agenttools-jwt-decoder-1d77cc72","name":"AgentTools JWT Decoder","description":"Decode a JSON Web Token's header and payload to readable JSON. Pure decoding: signatures are NOT verified and no secret is needed. Claims like exp and iat are rendered as dates. Use this when an agent needs to decode header and payload — no verification.","url":"https://agenttools-hub.vercel.app/api/v1/dev/jwt-decoder?utm_source=zero.xyz","method":"GET","headers":{},"bodySchema":{"type":"object","$schema":"https://json-schema.org/draft/2020-12/schema","required":["input"],"properties":{"input":{"type":"object","required":["type","method"],"properties":{"type":{"type":"string","const":"http"},"method":{"enum":["GET"],"type":"string"},"queryParams":{"type":"object","required":["token"],"properties":{"token":{"type":"string","description":"header.payload.signature"}}}},"additionalProperties":false},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string"},"example":{"type":"object"}}}}},"responseSchema":null,"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.001","displayCostAsset":"USDC","priceDynamic":false,"priceHint":null,"priceStatus":"priced","priceSource":"probe","requiresHandshake":false,"reviewCount":0,"rating":{"score":"0.00","successRate":"0.00","reviews":0,"stars":null,"state":"unrated"},"availabilityStatus":"unknown","priceObserved":null,"sessionDeposit":null,"pricing":{"kind":"static","summary":"$0.001/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.001","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.001","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_7LimyaJv6BQ8e-ePvWNVB","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.001","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Decodes a JWT's header and payload into readable JSON without verifying the signature, rendering timestamp claims as human-readable dates.","exampleAgentPrompt":"Can you decode this JWT for me and show me what's in the header and payload, including when it expires? Here's the token: eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJzdWIiOiIxMjM0NTY3ODkwIiwibmFtZSI6IkpvaG4gRG9lIiwiZXhwIjoxNzE2MjM5MDIyfQ.SflKxwRJSMeKKF2QT4fwpMeJf36POk6yJV_adQssw5c","exampleUseCases":[{"title":"Inspect expired token in debugging","prompt":"I'm getting an auth error and have this JWT — can you decode it and tell me when it was issued and when it expires? Token: eyJhbGciOiJSUzI1NiIsInR5cCI6IkpXVCJ9.eyJzdWIiOiJ1c2VyXzEyMyIsImlhdCI6MTY5MDAwMDAwMCwiZXhwIjoxNjkwMDAzNjAwfQ.signature"},{"title":"Read user claims from token","prompt":"Decode this JWT for me so I can see what user ID and roles are embedded in the payload: eyJhbGciOiJIUzI1NiJ9.eyJ1c2VySWQiOiJhYmMxMjMiLCJyb2xlcyI6WyJhZG1pbiIsInVzZXIiXX0.sig"},{"title":"Audit token header algorithm","prompt":"What algorithm and token type are specified in the header of this JWT? eyJhbGciOiJSUzI1NiIsInR5cCI6IkpXVCJ9.eyJzdWIiOiJ0ZXN0In0.sig"}],"resultDescription":"Returns the decoded JWT header and payload as structured JSON objects, with timestamp fields like exp and iat converted to human-readable date strings. No signature verification is performed — the raw claims are surfaced as-is.","failureModes":["Malformed JWT (not three dot-separated base64 segments) returns a decode error","Missing required 'token' query parameter results in a bad request response","Passing a non-JWT string (e.g. an opaque token) returns garbled or error output","Network or service unavailability returns a 5xx error"],"whenToPreferThis":"Use this endpoint when an agent needs to quickly inspect the contents of a JWT — such as reading claims, checking expiry, or identifying the algorithm — without needing to validate the signature. Ideal for debugging, logging, or displaying token metadata. Not suitable when signature verification or security enforcement is required.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-02T12:41:16.970Z","isFirstParty":false,"canonicalSlug":"agenttools-jwt-decoder-1d77cc72"}