JSON Tools
Encode & Inspect
Utility tools for developers who need to inspect encoded data, debug authentication tokens, or understand the token cost of sending JSON to a language model API.
All Encode & Inspect Tools
Frequently Asked Questions
What is Base64 and when do developers use it?
Base64 is a binary-to-text encoding that represents binary data as ASCII characters. Developers use it to embed images in HTML/CSS, encode binary payloads in JSON (which only supports text), and pass data safely through systems that only handle text.
Is it safe to decode a JWT here?
Yes, for inspection purposes. The JWT Decoder only decodes the header and payload (which are Base64-encoded and not encrypted). It does not verify the signature, so you can read the claims without needing the signing secret.
What does the JSON Token Counter do?
The token counter estimates how many tokens a JSON payload will consume when sent to an LLM API (such as OpenAI or Anthropic). This helps you understand cost and context window usage before sending large JSON payloads.
Can I decode a JWT signature?
The signature portion of a JWT is a cryptographic hash and cannot be decoded into readable content without the signing secret. The JWT Decoder shows the algorithm used (in the header) so you know what type of signature it is, but does not verify or crack it.