Skip to content
Guides

How to Decode a JWT Online Free, and Verify It Safely

Decode a JWT in your browser, read its claims and verify the signature with HS256, RS256 or ES256, without uploading.

convert images to PDF guide
In this article
  1. Table of Contents
  2. Quick answer: decode JWT online
  3. How to decode and verify a JWT in 4 steps
  4. Does decoding prove a JWT is valid?
  5. What to check in the claims
  6. Is it safe to paste a token or secret online?
  7. Related free developer tools
  8. Decoding is not the same as verifying
  9. What to look for in a decoded token
  10. Security tips
  11. Common questions about decoding tokens
  12. Final tips to decode JWT online with confidence

To decode a JWT, paste the token into the Decode tab of JWT Studio. It shows the header and the claims, such as expiry, issuer and audience. Decoding only reads the token. To check that it is genuine, you must verify the signature.

Quick answer: decode JWT online

Short answer: decode JWT online with the free VaidikX tool, right in your browser. Follow the steps above, then check the result before you share it.

decode JWT online with the free VaidikX tool

Newsletter

Get the VaidikX AI Brief

The week's biggest AI, Big Tech and startup news, explained in 5 minutes. Free, every week.

How to decode and verify a JWT in 4 steps

  1. Paste the token into the Decode tab to see its header and claims.
  2. To check it is genuine, open Verify signature.
  3. Choose the expected algorithm (HS256, RS256 or ES256) and paste the HMAC secret or the public JWK.
  4. Optionally add the expected issuer and audience, then select Run tool.

Does decoding prove a JWT is valid?

No. A JWT is readable by anyone who holds it, so decoding only shows the header and the claims. Only the Verify signature step checks the signature, and it does so with the key you supply. Treat a decoded but unverified token as untrusted.

What to check in the claims

When you debug a login, look at the expiry and other time claims, then the issuer and the audience. The tool lets you enter the expected issuer and audience so you can confirm them before you trust a token in a test.

Is it safe to paste a token or secret online?

JWT Studio runs in your browser. The tool states that the token and the key stay in your browser’s memory and are not uploaded or saved. Even so, use test keys, and never paste production secrets into any website you do not control.

Use the JSON Studio to inspect the claims as JSON (see the JSON formatter guide), the Regex Tester (see the regex guide), or browse the whole AI Tool Lab. For password habits, read how to check weak password patterns.

Decoding is not the same as verifying

A JSON Web Token has three parts separated by dots: a header, a payload and a signature. The header and payload are only encoded, not encrypted, which means anyone who holds the token can read them. Decoding therefore needs no secret. Verifying that the token is genuine does need the secret key or public key, because that checks the signature.

What to look for in a decoded token

The payload usually holds claims such as who the token is about, who issued it and when it expires. The expiry time is stored as a number of seconds, so convert it to a date before you judge whether a token is still valid. Many login problems come down to an expired token or a clock that is slightly off.

Security tips

Treat tokens like passwords. Do not paste live production tokens into tools you do not trust, and never share one in a screenshot or a public chat. Because this tool runs in your browser, the token is not sent to a VAIDIKX server, but it is still good practice to use test tokens whenever you can. Never put secrets or personal data in a payload, because it can be read by anyone who has the token.

Common questions about decoding tokens

Is it safe to paste a token? Treat a token like a password. Use test tokens when you can and never share live tokens in public. Why does a token look fine but still fail? Decoding only reads the contents. Failures usually come from an expired time, a wrong audience, or a signature that does not match the key.

Final tips to decode JWT online with confidence

Whenever you decode JWT online, keep your input clean and check the result before you share it. If you decode JWT online often, bookmark this page and the tool so the next time takes seconds. Want to decode JWT online even faster? Open the tool link at the top of this guide. For background reading, see the JWT standard (RFC 7519).

Vaidik Kotadiya is the founder and editor of VaidikX, a technology publication based in Ahmedabad, India. He writes about AI, Big Tech, cybersecurity and startups, and builds the free tools in the VaidikX AI Tool Lab.