JWT Payload Decoder
This tool decodes the readable parts of a compact JWT so developers can inspect claims and understand the token’s structure.
Workspace
The JWT Payload Decoder is meant to split a JSON Web Token into its header, payload, and signature, and show the payload claims as readable JSON. Paste a token in the workspace above, press Process, and check the result before you rely on it.
What is the JWT Payload Decoder?
A JSON Web Token (JWT) has three Base64URL-encoded parts separated by dots: header, payload, and signature. The payload carries claims such as the subject (sub), name, issued-at time (iat), and expiry time (exp). A working decoder would Base64URL-decode the middle part and display those claims as formatted JSON, without verifying the signature unless a secret or public key is supplied.
How to Use the JWT Payload Decoder
- Paste a complete JWT, in the form header.payload.signature, into the workspace input box.
- Press Process.
- Read the result box carefully. A correct result shows the decoded payload JSON, including the sub, name, and iat claims for the test token.
- Use Copy or Download only after you have confirmed the output is decoded JSON.
Worked Example
Input tested on this page: eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJzdWIiOiIxMjM0NTY3ODkwIiwibmFtZSI6IkpvaG4gRG9lIiwiaWF0IjoxNTE2MjM5MDIyfQ.SflKxwRJSMeKKF2QT4fwpMeJf36POk6yJV_adQssw5c
Observed workspace output: the workspace echoed the token and reported its length (155 characters), followed by Processing complete! It did not show any decoded JSON.
The correct decoded payload for that token is: {'sub': '1234567890', 'name': 'John Doe', 'iat': 1516239022} The workspace did not produce that. It returned no sub, name, or iat values at all.
Limitations
- Important bug: the workspace is currently a generic stub. It echoes the input and reports its length. It does not split the token or decode the payload.
- Do not use the current workspace output as decoded claims. It contains no decoded JSON.
- Decoding is not verification. Even a working decoder does not prove a token is authentic unless the signature is checked with the correct key.
- Never paste a real production token, secret, or credential into a public page. Tokens can grant access if leaked.
Frequently Asked Questions
Does this tool decode the JWT payload?
It should, but the current workspace does not. In the test above, the output showed no decoded claims, only the echoed token and its 155-character length.
Does it verify the signature?
No. The current workspace does not split or decode the token at all, so it cannot verify anything. Never treat its output as proof that a token is valid.
What does the Length value mean?
It is the character count of the token as typed, including the two dots. For the test token it was 155 characters. It is not a claim count or a decoded size.
What should I use instead until this is fixed?
Use a trusted JWT decoder that runs locally, or decode the middle part with a Base64URL decoder, and verify the signature separately with the correct key before trusting any claim.
Related Tools
From the Blog
How to Split a Bill Fairly (With Tip and Tax, Without the Awkward Maths)
Quick Answer Agree the method before ordering, split the food by what each person ordered, and split tax and tip in proportion…
Read article →How to Use the Pomodoro Technique to Actually Finish Your Work
Most productivity advice tells you what to do and leaves the when to you. That is exactly where the day falls apart.…
Read article →How to Merge PDF Files Into One Document (Without Losing Pages)
You have five PDFs. Your bank wants one file. Your university wants one file. Your client wants one file. Merging them is…
Read article →