Portal dev-tools.bluesky-labs.com
Secure Sandbox v1.0
Local Processing Verified: Your files and inputs never leave your device. Processed 100% client-side.

Secure Offline JWT Decoder

Decode JWT tokens, format complex JSON or SQL scripts, and generate cryptographically strong credentials safely in your browser thread. No data leaks.

Secure JWT Decoder JSON & SQL Formatter Credential Generator

Paste JWT Token

JWT Header (Metadata)

{}

JWT Payload (Claims)

{}

Text Diff / Code Compare

Compare text, code, JSON, or Markdown locally.

Open new tool →

How to use the JWT Decoder

  1. Paste a token into the "Paste JWT Token" box. It decodes as you type, so there is no submit button.
  2. Read the two panels: "JWT Header (Metadata)" shows fields such as alg and typ, and "JWT Payload (Claims)" shows the claims as formatted JSON.
  3. Check the bar above the panels for the algorithm and the expiry time from the exp claim, shown in your local time and marked EXPIRED when it is in the past.
  4. Use "Copy JSON" on either panel to grab the decoded part, or "Load Sample" to see how a valid token looks.

What it's useful for

  • Finding out why an API call returns 401: an expired exp claim is often the answer.
  • Checking which roles, scopes or user ID your auth server actually puts into a token while you build a login flow.

Good to know

  • It only decodes. The header and payload are Base64URL-decoded and parsed as JSON; the third part, the signature, is ignored. The tool cannot tell you whether a token is genuine or has been altered.
  • The token must have exactly three dot-separated parts. Encrypted tokens (JWE, five parts) and broken strings show an error instead.
  • Decoding is done by the script on the page; the tool code makes no network request with your token.

FAQ

Does this verify the JWT signature?

No. Verification needs the signing secret or public key and should happen in your server or auth library. Treat a decoded payload as unverified data.

Why do I see "Invalid JWT format"?

The text did not split into three parts on the dots. Check that you copied the whole token without the "Bearer " prefix or line breaks in the middle.

Is it safe to paste a live token?

It stays in your browser tab, but a JWT works like a password until it expires, so prefer expired or test tokens.