Paste a JSON Web Token to instantly view its decoded header and payload in your browser.
Updated
/ 5 - Be the first to rate this tool Thanks for rating!
Verification failed - please try again.
Quick check
Please verify you're not a robot to submit your rating.
Give feedback
Tell us what you think about Decode a JWT online.
Signature (not verified):
- Runs entirely in your browser — your token is never sent to a server
- Instantly view the decoded header and payload
- Free, no account required
How it works
-
1
Paste the text, code, or token you want to encode or decode.
-
2
Conversion happens instantly as you type.
-
3
Review the result, including any decoded structure.
-
4
Copy the result to your clipboard.
Why use this tool
Every dev utility, one place
Format, convert, encode, decode, and generate — no more juggling ten tabs.
100% private, always
Every tool runs in your browser — your code and data are never sent anywhere.
Works on any device
Runs on Windows, Mac, Linux, iOS, and Android — nothing to install.
Instant results
No queues, no build step — results update as you type.
Built to handle real data
Full Unicode support and RFC-compliant parsing, edge cases included.
Free, always
Free to use, with no rate limits, sign-up, or trial period.
Frequently asked questions
No, it simply unpacks the Base64 header and payload. You need the private key to prove the token hasn't been tampered with.
Editing the payload is possible, but unless you can resign it with the correct secret, the server will reject it.
Yes, it detects the "exp" and "iat" claims and displays them as readable dates instead of Unix integers.
This tool only handles standard signed JSON Web Tokens (JWS), not fully encrypted payloads which require decryption keys.
Yes, the unpacking algorithm runs entirely on your local machine, ensuring your credentials never hit a network.
From the blog
Reading a JWT Without Trusting It: Claims, Expiry, and the Signature Trap
Decoding a JWT takes a second. Verifying one is a different job entirely — and confusing the two is how auth bugs ship. Here is how to read a token safely while you debug.
Mastering Base64: What It Is, How It Works, and When Not to Use It
Base64 is everywhere in modern web development, from data URIs to authentication headers. Here is a deep dive into how it works and common pitfalls to avoid.
Demystifying JSON: How to Troubleshoot Common Parsing Errors
JSON is the backbone of web APIs, but syntax mistakes can halt your code. Here is how to identify and fix missing commas, unescaped strings, and trailing characters.
Recently viewed
Format and beautify HTML online
Pretty-print or minify HTML instantly in your browser, with adjustable indentation.
Encode or decode ROT13 and Caesar cipher text
Shift letters by any amount, including the classic ROT13, instantly in your browser.
Generate a Markdown table online
Paste comma-separated rows to instantly get a formatted Markdown table, in your browser.
Related tools
Base64 encode or decode text online
Convert text to and from Base64 instantly in your browser, with full Unicode support.
Encode or decode ROT13 and Caesar cipher text
Shift letters by any amount, including the classic ROT13, instantly in your browser.
Encode or decode HTML entities online
Convert text to and from HTML entities instantly in your browser.
Build and sign a JWT online
Build and HMAC-SHA256-sign a JWT from a header, payload, and secret, instantly in your browser.
Encode or decode a Punycode domain
Convert an internationalized domain name to and from its Punycode (xn--) form, in your browser.
Escape or unescape a string online
Escape or unescape a string for JS/JSON string literals instantly in your browser.
Sort and de-duplicate lines online
Sort lines alphabetically or by length, remove duplicates, and strip blank lines, instantly in your browser.
Resize an image to LinkedIn post size for free
Fit or fill an image to the 1200×627 LinkedIn post size, with drag-to-reposition and zoom, right in your browser.
Generate Lorem Ipsum placeholder text
Generate paragraphs, sentences, or words of Lorem Ipsum placeholder text instantly in your browser.
Preview Markdown as HTML live
Paste Markdown to see a live-rendered HTML preview instantly in your browser.
Generate a Markdown table online
Paste comma-separated rows to instantly get a formatted Markdown table, in your browser.
Convert Markdown to PDF for free
Turn Markdown text or a .md file into a clean, formatted PDF document.