Decode Microsoft Entra / Azure AD JWT Offline

This tool provides an instant, browser-local utility to decode Microsoft Entra ID (formerly Azure AD) JWTs. It's pre-configured with `"checkExpiry": true` to automatically validate token expiration, ensuring sensitive authentication data never leaves your browser. This is crucial for securely inspecting tokens from logs or proprietary configurations without uploading them.

Local Browser Processing — Files Stay on Your Device
Reset to Full Tool
🔒 Client-side execution — 0 bytes uploaded to remote serversPowered by JWT Decoder

Workflow Checklist

  • Verify 'exp' claim is future-dated (e.g., `"exp": 1700000000` > current Unix timestamp).
  • Confirm 'aud' claim matches your application's Client ID or resource URI.
  • Check 'iss' claim matches the expected Microsoft Entra ID tenant URL (e.g., `https://sts.windows.net/{tenant-id}/`).
  • Ensure 'nbf' claim (if present) is in the past, indicating the token is currently valid for use.

Parent Tool & Hub

Step-by-Step Guide: Decode Microsoft Entra / Azure AD JWT Offline

Follow these exact steps to complete this workflow locally in your browser without uploading files.

Decode Microsoft Entra / Azure AD JWT Offline — 3-step browser-local workflow diagram
Diagram illustrating the secure, browser-local processing of your Entra ID JWT, ensuring no data ever leaves your device.
  1. 1

    Locate Your Entra ID JWT

    Copy your full Microsoft Entra ID (Azure AD) JWT from your application logs, network traces, or configuration files. Ensure you capture the entire token string, typically starting with 'eyJ'.

    Tip: Verify the token is complete; truncated tokens will lead to decoding errors.
  2. 2

    Paste Token into Input Field

    Navigate to the 'Decode Microsoft Entra / Azure AD JWT Offline' tool. Paste the copied JWT into the large input text area labeled 'Enter JWT Here'.

    Tip: Avoid accidental spaces or newlines before/after the token string.
  3. 3

    Review Decoded Header & Payload

    The tool will instantly display the decoded JWT header and payload in the output sections below. Examine claims like 'aud' (audience), 'iss' (issuer), and 'upn' (user principal name).

    Tip: Look for 'exp' (expiration) and 'nbf' (not before) claims for validity windows.
  4. 4

    Verify Expiration Status

    Since `checkExpiry` is active, the tool will explicitly indicate if the token is expired. Pay close attention to the expiration status to avoid using stale tokens in your applications.

    Tip: Expired tokens will cause authentication failures in Entra ID-protected applications.
  5. 5

    Inspect Signature Verification Status

    The tool will also attempt to verify the token's signature. While offline, this is a structural check. For full cryptographic validation, you need the issuer's public key (e.g., from `https://login.microsoftonline.com/{tenantId}/v2.0/.well-known/openid-configuration`).

    Tip: Signature verification ensures the token hasn't been tampered with after issuance.

Technical Specifications & Preset Reference

Decode Microsoft Entra / Azure AD JWT Offline — technical specification and dimension reference diagram
Visualizing the critical `checkExpiry: true` parameter, which automatically validates token expiration within your browser's security context.
ParameterRecommended SettingWhy It Matters
Processing LocationBrowser-LocalAll JWT decoding and expiration checks occur entirely within your browser, ensuring 0 bytes of sensitive token data are ever uploaded.
Token Type SupportedMicrosoft Entra ID JWTsOptimized to parse and display common claims found in tokens issued by Microsoft's identity platform.
Expiration CheckEnabled (`checkExpiry: true`)Automatically evaluates the 'exp' claim against the current local time, providing immediate feedback on token validity.
Signature VerificationStructural CheckValidates the token's structure and base64 encoding, confirming it's a well-formed JWT, without requiring a public key.
Input FormatBase64Url-encoded JWTAccepts the standard compact serialization format for JWTs as issued by identity providers.

Common Issues & Troubleshooting Fixes

Token not decoding, showing 'Invalid JWT structure'.

Ensure the entire token, including all three dot-separated parts, is copied without truncation. Check for extra spaces or newlines before/after the token string.

Expiration status incorrectly states 'Expired' when the token should be valid.

Verify your local system clock is accurate and synchronized. Skewed clocks can cause misinterpretations of the 'exp' claim's Unix timestamp.

Payload claims appear unreadable or garbled after decoding.

This typically indicates the token itself might be malformed or encrypted. This tool decodes standard, unencrypted JWTs. Verify the source of your token.

Cannot fully validate signature without a public key.

For full cryptographic signature validation, you must manually fetch the appropriate public key (e.g., from the Entra ID tenant's OpenID Connect discovery endpoint) and use a dedicated library or tool.

Why Run This Workflow Locally in ShowPro?

Unlike remote JWT debuggers that require uploading your sensitive Microsoft Entra ID tokens to a third-party server, this tool processes everything locally in your browser. This eliminates data transmission risks, preventing potential exposure of user identities, roles, or confidential claims. For Entra ID tokens, where data privacy and compliance are paramount, local processing is the only secure approach.

Frequently Asked Questions

Why is it important that this tool works 'offline' for Entra ID JWTs?

Processing offline means your sensitive authentication tokens, containing user and application data, never leave your browser. This protects against data breaches and ensures compliance with privacy regulations, especially critical for corporate Entra ID environments.

Does 'checkExpiry: true' validate the token's actual cryptographic signature?

No, `checkExpiry: true` only verifies the token's expiration time ('exp' claim) against your local system clock. Full cryptographic signature validation requires the issuer's public key, which is not available offline by default.

Can I decode encrypted Entra ID JWTs (JWE) with this tool?

This tool decodes standard, unencrypted JWTs (JWS). Encrypted JWTs (JWE) require a decryption key, which is outside the scope of a simple browser-local decoder and would compromise the 'offline' privacy aspect.

What if my local clock is wrong? Will the expiration check be accurate?

The expiration check relies on your local system clock. If your clock is inaccurate, the 'Expired' status might be incorrect. Ensure your device's time is synchronized with an NTP server for reliable results.

Are there any size limits for the JWTs this tool can decode?

While there isn't a strict hard limit, extremely large JWTs (e.g., those with hundreds of claims or very long strings) might cause browser performance issues. However, typical Entra ID tokens are well within practical limits.

Related Dev/Text Workflows

View Dev/Text Hub →
Zero-Upload JWT Inspector for Sensitive Auth Tokens
This Zero-Upload JWT Inspector is engineered for maximum privacy, allowing you to decode sensitive JSON Web Tokens entirely within your browser. Crucially, no part of your token ever leaves your device. The tool comes pre-configured with `checkExpiry: true` to instantly validate token validity periods, preventing accidental use of expired credentials.
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.
Check JWT 'exp' Expiration & 'iat' Claims Locally
Decode and instantly check JWT 'exp', 'iat', and 'nbf' claims directly in your browser without sending tokens to external servers. This tool is pre-configured to highlight these specific claims and automatically calculate their human-readable expiration dates, ensuring sensitive token data remains entirely local for privacy-critical development and debugging.
Encode API Credentials (user:pass) to Base64 Locally
This utility locally encodes your 'username:password' string to a Base64 format, essential for HTTP Basic Authentication headers. Pre-configured for encoding, it ensures your sensitive API credentials never leave your browser, maintaining strict privacy and security for your development workflows.
Decode Percent-Encoded Redirect & UTM URLs
This utility instantly decodes percent-encoded URLs, ideal for inspecting UTM tracking links, redirect chains, or proprietary configuration strings without sending sensitive data to external servers. The tool is pre-configured for 'decode' mode, ensuring all processing happens entirely within your browser for maximum privacy and speed, with zero bytes uploaded.
Deduplicate Keyword & Domain Lists Offline
This utility instantly deduplicates keyword and domain lists directly in your browser, ensuring sensitive data like proprietary token lists or client domain names never leave your device. It's pre-configured to preserve the original order of your entries and perform a case-insensitive comparison, making it ideal for SEO audits or log file cleanups.