1. Home
    2. Generators & Security Tools
    3. JWT Decoder

    JWT Decoder

    Decode JSON Web Tokens to read the header and claims, check expiry and verify HS256 signatures, privately.

    The example token is signed with the secret toolzzz-secret.

    JWT token
    Decoded token

    Everything runs in your browser. Your data never leaves your device.

    Quick answer

    How do I decode a JWT?

    Paste the token into the Toolzzz JWT Decoder. It splits the token into header, payload and signature, shows them as formatted JSON, turns exp, iat and nbf into readable dates and tells you if the token has expired. Enter the secret to verify HS256, HS384 or HS512 signatures.

    • Decodes header and payload
    • Readable dates for exp, iat and nbf
    • Expired or valid status
    • Verifies HS256, HS384 and HS512 with a secret
    • Removes a "Bearer " prefix automatically
    • Explains standard claims (iss, sub, aud)
    • Runs in your browser, tokens never sent
    JWT Decoder: read token headers and claims in your browser
    JWT Decoder on Toolzzz: read token headers and claims, free and private.
    How it works

    How to decode a JWT in 3 steps

    The token is decoded as soon as you paste it.

    1. Paste the token

      Paste the JWT, with or without "Bearer ".

    2. Read the claims

      See the header, payload, readable dates and expiry status.

    3. Verify the signature

      Enter the secret to check HS256, HS384 or HS512 tokens.

    How to decode a JWT in 3 steps in three steps: paste the token, read the claims, verify the signature
    How to decode a JWT in 3 steps in three steps.
    Use cases

    When developers decode JWTs

    Debugging auth

    See which claims your API received.

    Expiry problems

    Check when a token expires and why it fails.

    Roles and scopes

    Confirm permissions inside a token.

    Testing signatures

    Verify a token was signed with your secret.

    OAuth and OpenID

    Read ID tokens from login providers.

    Learning

    Understand how JWTs are built.

    Any device

    How to use the JWT Decoder on Windows, Mac, iPhone and Android

    No app to install. The tool works in any modern browser, so the steps are almost the same everywhere.

    On Windows

    1. Open toolzzz.com/jwt-decoder/ in Chrome, Edge or Firefox.
    2. Paste (Ctrl+V) your token into the left box, or press Upload to open a file.
    3. Paste the token and read the claims.
    4. Read the decoded header and payload; nothing is saved. Files go to your Downloads folder.

    On Mac

    1. Open toolzzz.com/jwt-decoder/ in Safari or Chrome.
    2. Paste (Cmd+V) your token into the left box, or press Upload to open a file.
    3. Paste the token and read the claims.
    4. Read the decoded header and payload; nothing is saved.

    On iPhone and iPad

    1. Open toolzzz.com/jwt-decoder/ in Safari.
    2. Touch and hold the box, tap Paste to add your token into the left box, or tap Upload to open a file.
    3. Paste the token and read the claims.
    4. Read the decoded header and payload; nothing is saved. Downloads appear in the Files app.

    On Android

    1. Open toolzzz.com/jwt-decoder/ in Chrome.
    2. Long-tap the box and tap Paste to add your token into the left box, or press Upload to open a file.
    3. Paste the token and read the claims.
    4. Read the decoded header and payload; nothing is saved. Downloads go to the Downloads folder.
    Comparison

    Toolzzz vs. other online generators

    FeatureToolzzz JWT DecoderTypical online generators
    PriceFree, no limitsFree tier, then paid plans
    Where it runsIn your browser onlyOften on the provider’s server
    Built onBrowser standards (Web Crypto, Canvas, SVG)Often closed server-side code
    Sign-upNot neededSometimes needed for downloads
    Tracking of resultsNone, nothing is storedResults may be logged
    Works offline once loadedYesUsually not

    "Typical" describes common limits of free online services. Plans and limits differ between sites.

    Why Toolzzz

    Why generate with Toolzzz

    Private by design

    Every value is created or checked inside your browser. Nothing is sent or stored.

    Built on Web Crypto

    Hashing, encryption and random values use the browser’s built-in, audited Web Crypto API.

    Instant

    Results appear immediately, even for thousands of values.

    Copy or download

    Copy in one click or save the result as a file.

    Any device

    Works in Chrome, Safari, Edge and Firefox on desktop and mobile.

    Free forever

    No account, no limits and no watermark.

    Pro tips

    Tips for the best result

    • A JWT payload is only Base64url-encoded, not encrypted. Never put secrets in it.
    • Decoding is not validation. Your server must always verify the signature.
    • RS256 and ES256 tokens need a public key, which this tool does not check.
    • Times are in seconds since 1 January 1970 (Unix time).
    • Be careful pasting live production tokens anywhere. This tool runs locally and sends nothing.
    Glossary

    Key terms explained

    JWT
    JSON Web Token: header.payload.signature, each part Base64url-encoded.
    Claim
    A piece of information in the payload, such as sub (subject) or exp (expiry).
    HS256
    HMAC with SHA-256: a signature made with a shared secret.
    FAQ

    Frequently asked questions

    Is the JWT decoder free?

    Yes, free and unlimited.

    Is my token sent to a server?

    No. Decoding and signature checks run in your browser with the Web Crypto API.

    Can it verify signatures?

    Yes, for HS256, HS384 and HS512 when you enter the secret.

    Why does it say "Invalid signature"?

    The secret is wrong, or the token was changed. The secret must match exactly.

    What does exp mean?

    The expiry time. After it, servers should reject the token.

    Can it decode encrypted tokens (JWE)?

    No. JWE tokens have five parts and need a decryption key.

    Is the payload private?

    No. Anyone can decode it. Only the signature prevents changes.

    What is the secret for the example token?

    toolzzz-secret.