JWT Decoder

Decode JWT tokens online to see header, payload and expiry time. Runs in your browser.

50 free uses every 24 hoursUnlimited with Pro →

Private by design — your data stays on your deviceEverything runs right here in your browser. What you type is not sent to our server and is not stored.
  • Runs in your browser
  • Not stored
  • No sign-up

This JWT decoder lets you paste a JSON Web Token and read its header and payload, plus the date it was issued and the time it expires. It is built for developers, testers and support teams who need to see what a token contains. It is free, and the token never leaves your browser.

How do you decode a JWT token online?

You only need the token itself. The steps are short:

  1. Copy the token from your app, browser tools, API response or log file.
  2. Paste it into the input box on this page.
  3. Read the header to see the token type and signing algorithm.
  4. Read the payload to see the claims, such as user ID, issuer or audience.
  5. Check the issued and expiry dates to see whether the token is still valid by time.
How to use the JWT Decoder on OneHubTools: 5 steps with a real screenshot of the tool
How to use the JWT Decoder, step by step.

Need to go a step further? The Base64 Encode / Decode and the Unix Timestamp Converter work the same way, right in your browser.

Everything is decoded locally, so nothing is uploaded or stored.

What is inside a JWT?

A JWT is three parts separated by dots. The first two are encoded JSON that anyone can read once decoded. That is what this page does for you.

PartWhat it holdsShown by this tool
HeaderToken type and signing algorithmYes, decoded
PayloadClaims such as user, issuer, audience and timestampsYes, decoded, with readable dates
SignatureProof the token was not changedNo, it is not verified
Result from the JWT Decoder on OneHubTools
What the JWT Decoder gives you.

What is a JWT token decoder good for?

Most people open a decoder when something is not working and they need a quick look inside a token. Common uses include:

  • Debugging login errors. If an API returns 401, check whether the token has expired or was issued for the wrong audience.
  • Checking expiry. The JWT expiry check shows when the token was issued and when it runs out, so you do not have to convert raw timestamps by hand.
  • Confirming claims. See whether the user ID, role or scope you expect is actually in the payload.
  • Comparing environments. Decode a token from staging and one from production to spot a different issuer or algorithm.
  • Helping support teams. When a customer sends a token from a failed request, you can read the details without writing code.

Does decoding a JWT verify the signature?

No. This tool only decodes. It shows you what the token says, but it does not prove the token is genuine.

DecodingVerifying
What it doesReads the header and payloadChecks the signature against a key or secret
Needs a keyNoYes
Proves authenticityNoYes
This toolYesNo

Treat decoded values as information, not proof. Your server should always verify the signature before it trusts a token.

Tips for better results

  • Paste the whole token. A valid JWT has three sections with two dots between them. A token cut short in a log line will not decode properly.
  • Paste only the token. If you copied an Authorization header, leave out any label in front of the token.
  • Watch for stray spaces and line breaks. These often sneak in when you copy from emails, chat or terminals.
  • Prefer test tokens. The page runs in your browser, but a live token can still grant access. Avoid pasting real production tokens into shared screens or recordings.
  • Do not store secrets in a payload. Anyone who holds the token can read it, as you can see here.

Common problems when you decode a JWT

The token shows as expired

Compare the expiry time with the current time. If the token has run out, request a new one from your login or refresh flow. If it looks too short-lived, check the lifetime set where the token is created.

There is no expiry date

Some tokens do not include an expiry claim. In that case there is no expiry time to display. Look at the payload to confirm the claim is missing.

The payload does not have the claim you expect

The token may have been issued by a different service, for a different app, or before a recent change. Decode a fresh token and compare the two.

The token will not decode

Check for missing characters, extra quotes or a partial copy. Copy it again from the source and paste it in one piece.

Limits and specs

PriceFree
Free use50 uses every 24 hours — shared with 178 other tools in the “Basic tools” group
Where it runsIn your browser
Sign-upNot needed
Muhammad Shahwaiz Gillani
Maintained and reviewed by Muhammad Shahwaiz GillaniSoftware engineer and founder of OneHubTools · Last reviewed

How we checked it: We tested it in Chrome with real code and data, including edge cases such as empty input and very long values.

Where the facts come from

According to MDN Web Docs, the File API lets web pages read files you choose on your own device without uploading them, and all major browsers have supported it for more than 10 years.

Spotted a mistake or the tool did not work for you? Tell us and we will fix it.

Rate this tool

Ratings come only from signed-in users, so every rating is verified.

Only signed-in users can rate tools, so every rating shows a ✔ Verified badge.Sign in to rate

Frequently asked questions

Is this JWT decoder free to use?

Yes, it is free to use on OneHubTools. You can paste as many tokens as you like.

Is it safe to paste my JWT here?

The token is decoded in your browser and is not sent away from your device. Even so, avoid pasting live production tokens when a test token will do, since anyone holding a valid token may be able to use it.

Does the tool verify the JWT signature?

No, it only decodes the token. To confirm a token is genuine, your server or library must verify the signature with the right key.

How can I see when a JWT expires?

Paste the token and look at the dates shown with the payload. The tool displays when the token was issued and when it expires.

What is the difference between decoding and decrypting a JWT?

Decoding turns the encoded header and payload back into readable JSON, and it needs no key. Decrypting hides content from people without a key, which a standard signed JWT does not do, so its payload is readable by anyone who has it.

What does a JWT header and payload show?

The header describes the token type and signing algorithm. The payload carries the claims, such as who the token is for, who issued it and when it expires.