{
  "slug": "jwt-decode",
  "name": "gizza-ai/jwt-decode",
  "version": "0.1.0",
  "title": "JWT Decode — Decodes a JSON Web Token offline — gizza.ai",
  "description": "Decode any compact JSON Web Token (JWT) offline to inspect its header, payload claims, signature, and time-based validations. No data leaves your device.",
  "tags": [
    "jwt decode",
    "jwt decoder",
    "json web token",
    "jws",
    "decode jwt",
    "offline jwt decoder",
    "base64url decode jwt"
  ],
  "category": "security",
  "urls": {
    "page": "https://gizza.ai/tools/jwt-decode/",
    "markdown": "https://gizza.ai/tools/jwt-decode/index.md",
    "descriptor": "https://gizza.ai/tools/jwt-decode/tool.json",
    "deep_link_example": "https://gizza.ai/tools/jwt-decode/?token=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJzdWIiOiIxMjM0NTY3ODkwIiwibmFtZSI6IkpvaG4gRG9lIiwiaWF0IjoxNTE2MjM5MDIyLCJleHAiOjI1MTYyMzkwMjJ9.signature&leeway=0"
  },
  "cli": "gizza tool jwt-decode \"eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJzdWIiOiIxMjM0NTY3ODkwIiwibmFtZSI6IkpvaG4gRG9lIiwiaWF0IjoxNTE2MjM5MDIyLCJleHAiOjI1MTYyMzkwMjJ9.signature\"",
  "tool": {
    "description": "Decode a JSON Web Token (JWT) offline to inspect its header, payload claims, signature presence, and validate exp/nbf/iat time claims. No secret/public key is required.",
    "parameters": {
      "additionalProperties": false,
      "properties": {
        "leeway": {
          "description": "Clock-skew tolerance in seconds applied to exp/nbf/iat checks (default 0).",
          "minimum": 0,
          "type": "integer"
        },
        "now": {
          "description": "Reference time as seconds since the Unix epoch. When omitted (0), the current clock time is used.",
          "minimum": 0,
          "type": "integer"
        },
        "token": {
          "description": "The compact JWT to decode (header.payload.signature).",
          "type": "string"
        }
      },
      "required": [
        "token"
      ],
      "type": "object"
    }
  }
}