Decode Production JWT Tokens Offline (Zero Server Calls)
This utility decodes Auth0/Cognito JWTs entirely in your browser, ensuring sensitive production tokens never leave your machine. It's pre-configured to automatically check token expiry, preventing issues with stale credentials. Process logs, debugging outputs, or proprietary configurations with zero server uploads.
Workflow Checklist
- Verify `aud` (audience) claim matches your target API identifier.
- Confirm `iss` (issuer) claim corresponds to your identity provider (e.g., Auth0 domain).
- Check `exp` (expiration) claim is in the future, preventing `401 Unauthorized` errors.
- Ensure `scope` or `roles` claims grant necessary permissions for the intended action.
Parent Tool & Hub
Step-by-Step Guide: Decode Production JWT Tokens Offline (Zero Server Calls)
Follow these exact steps to complete this workflow locally in your browser without uploading files.
- 1
Locate Your JWT Token String
Copy your full JWT string (e.g., from an API response header, local storage, or a `console.log` output) directly to your clipboard. Ensure it's the complete `header.payload.signature` format.
Tip: Avoid truncating long tokens; ensure all three segments are captured for a valid decode. - 2
Paste Token into Input Field
Navigate to the 'Token Input' field on this page. Paste your copied JWT string using `Ctrl+V` (Windows/Linux) or `Cmd+V` (macOS). The decoding process starts instantly.
Tip: Verify no leading/trailing whitespace is accidentally included with your paste. - 3
Review Decoded Header & Payload
Examine the 'Decoded Header' and 'Decoded Payload' sections. This JSON output reveals the algorithm, token type, and claims like user ID, roles, and custom attributes.
Tip: Look for `iat` (issued at) and `exp` (expiration) to quickly gauge token freshness. - 4
Check Expiry Status Automatically
Observe the 'Expiry Status' indicator, which automatically evaluates the `exp` claim against the current browser time. A 'Valid' or 'Expired' status is immediately displayed.
Tip: An 'Expired' status means API calls with this token will likely be rejected by the server. - 5
Copy Specific Claim Values
Click on any specific claim value within the decoded payload (e.g., `email` or `sub`) to copy it directly to your clipboard for use in other debugging tools or scripts.
Tip: This avoids manual retyping errors when transferring long or complex claim values.
Technical Specifications & Preset Reference
| Parameter | Recommended Setting | Why It Matters |
|---|---|---|
| Processing Location | Browser-Local (Client-Side) | Ensures zero bytes of your JWT token are ever transmitted to any external server, protecting sensitive data. |
| Expiry Check | Enabled (Pre-configured) | Automatically validates the `exp` claim against current time, crucial for debugging authentication failures due to stale tokens. |
| Token Type Support | Auth0, AWS Cognito (Standard JWT) | Handles common identity provider JWT structures, extracting standard claims reliably for development and debugging. |
| Network Activity | Zero (After page load) | No API calls or data uploads occur during token decoding, maintaining strict privacy for production secrets. |
| Account Requirement | None | Allows instant, anonymous use without needing to register or log in, streamlining quick debugging sessions. |
Common Issues & Troubleshooting Fixes
JWT appears incomplete or malformed (e.g., missing dots or segments).
Ensure you've copied the *entire* token, including all three base64-encoded parts separated by two dots. Check source logs for truncation.
Decoded payload shows unreadable or garbled characters.
Verify the token isn't encrypted (JWE) instead of just signed (JWS). This tool decodes standard JWS tokens; JWE requires a private key for decryption.
Expiry status shows 'Invalid' despite a valid `exp` claim.
Check your system clock. If your local machine's time is significantly off, it can incorrectly report token expiration. Sync with an NTP server.
Token successfully decodes but API still rejects it.
The token might be valid but signed with an incorrect secret (which this tool doesn't validate), or the API expects additional headers. Inspect API logs.
Why Run This Workflow Locally in ShowPro?
Unlike public online JWT decoders that require uploading your token to a third-party server, this tool operates entirely within your browser's memory. For production JWTs, especially those containing sensitive user data or proprietary claims, processing locally eliminates any data leak risk, ensuring your secrets remain solely on your machine.
Frequently Asked Questions
Can this tool validate the JWT signature?
No, signature validation requires the secret key or public certificate, which is never requested or stored by this browser-local tool for security reasons. It focuses solely on decoding the header and payload.
What happens if I paste an invalid token format?
The tool will attempt to parse the input. If it's not a valid JWT structure (e.g., missing segments, invalid base64), an error message will indicate the parsing failure, preventing incorrect output.
Does this tool store any of my decoded token data?
Absolutely not. All processing occurs in your browser's RAM and is discarded once you close the tab or refresh the page. No data is logged, stored, or transmitted by ShowPro Software.
Can I use this for tokens from other identity providers?
Yes, as long as the token adheres to the standard JSON Web Token (JWT) structure (JWS Compact Serialization), it will decode the header and payload correctly, regardless of the issuer.
Why is 'checkExpiry' pre-configured and not editable?
This specific tool variant is optimized for production debugging where token expiry is a critical and frequent issue. Pre-configuring `checkExpiry: true` streamlines this common workflow without extra clicks.