← All tool references

Developer Tools · not_available

JWT Decoder

Decode the header and payload of a JSON Web Token and inspect common time claims without verifying its signature.

Open public tool

Overview

Category
Developer Tools
API mode
not_available
Processing
client-side
Privacy
no-data-stored

Public descriptor

The descriptor is available without an API key and supplies this tool’s metadata, schemas, modes, and examples.

GET /api/v1/tools/jwt-decoder

View this descriptor as JSON

Execute availability

This tool is documented as a browser capability. Its execute route does not produce a server-side result; when execution is enabled, it responds with browser_interaction_required and points callers to the public tool page.

POST /api/v1/tools/jwt-decoder/execute

Authentication is not issued during the preview. A bearer API key is planned for execution after launch.

Input schema

object object; additional properties are not accepted.

token · string · required
Paste a JWT in header.payload.signature form.
{
    "type": "object",
    "properties": {
        "token": {
            "type": "string",
            "description": "Paste a JWT in header.payload.signature form."
        }
    },
    "required": [
        "token"
    ],
    "additionalProperties": false
}

Output schema

On a successful execution, schema values appear in data.result.values.

header · object
Decoded header produced by the calculation.
payload · object
Decoded payload produced by the calculation.
signature_present · string
Signature segment present produced by the calculation.
expiration_status · string
Expiration status produced by the calculation.
issued_at · string
Issued-at time produced by the calculation.
{
    "type": "object",
    "properties": {
        "header": {
            "type": "object",
            "description": "Decoded header produced by the calculation."
        },
        "payload": {
            "type": "object",
            "description": "Decoded payload produced by the calculation."
        },
        "signature_present": {
            "type": "string",
            "description": "Signature segment present produced by the calculation."
        },
        "expiration_status": {
            "type": "string",
            "description": "Expiration status produced by the calculation."
        },
        "issued_at": {
            "type": "string",
            "description": "Issued-at time produced by the calculation."
        }
    },
    "additionalProperties": false
}

JWT Decoder example

The request body follows the published input schema. The response below shows the success-envelope shape returned after execution is available.

curl -X POST "https://utilitypages.org/api/v1/tools/jwt-decoder/execute" \
  -H "Content-Type: application/json" \
  -d '{
    "token": "eyJhbGciOiJub25lIiwidHlwIjoiSldUIn0.eyJzdWIiOiIxMjM0NTY3ODkwIiwibmFtZSI6IkFkYSIsImlhdCI6MTc4Mzk2MjAwMH0."
}'
{
    "ok": true,
    "data": {
        "slug": "jwt-decoder",
        "result": {
            "values": {
                "header": {
                    "alg": "none",
                    "typ": "JWT"
                },
                "payload": {
                    "sub": "1234567890",
                    "name": "Ada",
                    "iat": 1783962000
                },
                "signature_present": "No",
                "expiration_status": "No exp claim",
                "issued_at": "2026-07-13T17:00:00.000Z"
            },
            "display": {
                "display": "{\"alg\":\"none\",\"typ\":\"JWT\"}"
            },
            "warnings": [],
            "assumptions": [],
            "steps": []
        }
    },
    "meta": [],
    "request_id": "req_example_123"
}

Errors

api_not_launched · 503
Returned by the current launch gate for every execute request.
invalid_json · 400
Returned when an enabled execute request does not contain valid JSON.
validation_failed · 422
Returned when a request does not satisfy the input schema.
browser_interaction_required · 422
Returned for browser capability tools instead of inventing a server-side result.
tool_not_found · 404
Returned when a requested descriptor slug does not exist.
execution_failed · 503
Returned when an enabled server-side execution cannot complete.