RECIPE LIBRARY

Read a specific JWT claim

Decode a JWT payload and select the role field with JSON Pointer.

Sample input

eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJzdWIiOiJzdHVkZW50Iiwicm9sZSI6InJlYWRlciJ9.example

Expected output

reader

Operation order

  1. JWT Payload
  2. Extract JSON Pointerpath: /role

What to check

  • A JWT payload is encoded, not confidential.
  • This recipe only decodes. It does not verify signatures or authorization.
  • Use the separate JWT/JWK signature verifier to check authenticity.
Responsible use & disclaimer →

Import recipes

Import SecTools JSON and a supported subset of CyberChef recipes. Unsupported operations or arguments are rejected rather than skipped. Processing stays local; saved and shared recipes contain steps and parameters only.

Compare features and limits →