Home / Web & Developer / JWT Decoder
🪪 JWT Decoder
JWT Decoder – get instant, free results right on your device.
The signature is not verified; do not paste your token into untrusted sites. Not an official institution.
Last updated: November 2026 · Parameter year: 2026 · Methods and sources: Methodology · Editorial policy
What is JWT Decoder?
A JWT (JSON Web Token) is a token used in authentication that consists of three parts: header, payload, and signature.
This tool decodes the header and payload parts of a JWT from Base64URL and shows them as readable JSON; it also shows the expiration time (exp) if there is one. Processing happens in your browser.
Important: The tool does not verify the signature; it only decodes the contents. Because the payload can be read by anyone, do not put secrets in it. Avoid pasting real tokens from live systems into untrusted sites.
How to use
Fill in these fields: JWT. Then press the button; the result appears on the same page and your data never leaves your device.
Formula
header.payload.signature
Example
header.payload.signature
Worked examples and tips
Example 1: When you paste into the tool the three-part token that starts with eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9, a common documentation example, the Header section shows the alg field as HS256 and the typ field as JWT. The Payload section contains sub 1234567890, name John Doe, and iat 1516239022. In other words, the token is an example signed with HMAC-SHA256, whose subject is 1234567890 and which was issued at the timestamp 1516239022 seconds.
Example 2: Fields such as iat and exp are stored as Unix seconds. To convert a number like 1516239022 shown on screen into a date, you need the Unix Timestamp Converter; this tool shows numbers as they are. To tell whether a token has expired, compare the exp field with today’s timestamp.
Example 3: It is also useful to see invalid input. If you paste only a two-part text like abc.def that is not valid Base64, the tool shows the warning “JWT could not be decoded, check the format”. If the word Bearer got stuck at the beginning or end when you copied the token, you need to delete it.
Tips and common mistakes: Do not paste real tokens taken from live systems anywhere; use only examples generated for testing, because a valid token carries its owner’s authority. Decoding is not decryption: the header and payload are Base64 text that anyone can read, so you should not put passwords or personal data in them. The tool does not verify the signature, so being able to decode a token does not mean it is trustworthy.
Frequently asked questions
JWT Decoder – how to use it?
Fill in the fields and press the button; the result appears instantly. Example: header.payload.signature
JWT Decoder – is it free, and is my data stored?
Yes, it is free and requires no sign-up. Because processing happens in your browser, the information you enter is not sent to a server.
Related guide
- What Are JSON, Base64 and URL Encoding? Encoding vs Encryption vs Hashing – What do JSON, Base64, URL encoding, HTML entities, SHA and JWT do? Encoding vs encryption vs hashing, with examples that were run and verified.
- What Is a JWT (JSON Web Token) and How Does It Work? Decoding, Signature and Security – What is a JWT, how do you decode it and verify its signature? A real sample token, exp time math, a tampering test and security mistakes.
- What Is a Unix Timestamp (Epoch Time)? Converting to and from Dates, the 2038 Problem – What is a Unix timestamp (epoch) and how do you convert seconds to a date? Manual math, Python, JavaScript and terminal code, milliseconds and 2038.