JWT Decoder & Inspector
Paste a JWT to decode and pretty-print its header and payload claims. Note: this decodes only, it does not verify the signature (never trust an unverified token).
About this tool
Paste a JWT to decode and pretty-print its header and payload claims. Note: this decodes only, it does not verify the signature (never trust an unverified token).
Example
Input: eyJ...header.eyJ...payload.sig
Output: HEADER + PAYLOAD JSON
Privacy
This tool runs entirely in your browser. Your data is processed locally and never uploaded to a server.
How to use this tool
- Paste a JWT string into the input box.
- Click decode to parse the token.
- Read the header and payload sections that appear below.
- Check the signature note before using any claims in your app.
Step by step, what happens
- The tool splits the JWT into its three dot-separated parts.
- It Base64URL decodes the header and payload sections.
- It pretty-prints the decoded JSON so the fields are easy to read.
- It shows that the signature is not verified, so the token should not be trusted for security decisions.
Worked example
Suppose you want to inspect a token and see which user and roles it claims to contain.
Input: eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiIxMjMiLCJyb2xlIjoiYWRtaW4ifQ.signature
- Paste the token into the decoder.
- The tool decodes the header and payload into readable JSON.
- It leaves the signature unverified and warns you not to trust the token just because it decoded successfully.
Output: Header:
{
"alg": "HS256"
}
Payload:
{
"sub": "123",
"role": "admin"
}
Signature: not verified
Tips and common mistakes
- This tool only decodes the token, so do not use it to confirm authenticity or integrity.
- A token that decodes correctly can still be forged or tampered with.
- If the input is malformed, make sure it has three dot-separated parts and that the first two parts are valid Base64URL data.
- Use the decoded payload for quick inspection, but always verify JWTs in your backend code before trusting claims.
Frequently asked questions
Does it verify the signature?
No, it only decodes. Signature verification requires the secret/key and should be done server-side.
Is my token uploaded?
No, decoding happens locally in your browser.
What is in a JWT?
Three Base64url parts: header (algorithm), payload (claims), and signature.
More Developer Tools Tools
Explore related calculators in this category
Base64 Encode / Decode
Encode text to Base64 or decode Base64 back to text instantly. Free online Base64 tool with UTF-8 support.
JWT Generator
Generate a signed JSON Web Token (HS256) from a payload and secret, in your browser.
.htaccess Generator
Generate common .htaccess rules, force HTTPS, www redirect, and caching, with checkboxes.
API Key Generator
Generate random, secure API keys and tokens with an optional prefix. Cryptographically secure.
You Might Also Like
Popular tools from other categories
1031 Exchange Calculator - Free Online
Free Calculate tax deferral in a 1031 exchange. Step-by-step solutions and formulas included. Fast, accurate, and free, with formula and example.
4% Rule Calculator
Find the retirement nest egg you need using the 4% safe-withdrawal rule.
70% Rule Calculator
Calculate max offer using the 70% rule for flips.
A1C Calculator - Free Online
Free Convert between A1C percentage and estimated average glucose. Step-by-step solutions and formulas included. Simple, fast, and free.
Can't Find the Right Calculator?
Try our AI Math Solver, type any problem in plain English and get instant step-by-step solutions.