Decode, verify, and generate JSON Web Tokens (RFC 7519) in your browser. Your token and secret never leave this page.
Paste a JWT below to decode, validate, and verify it. Signing and verification stay in your browser.
eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJzdWIiOiIxMjM0NTY3ODkwIiwibmFtZSI6IkpvaG4gRG9lIiwiYWRtaW4iOnRydWUsImlhdCI6MTUxNjIzOTAyMn0.KMUFsIDTnFmyG3nMiGM6H9FNFUROf3wh7SmqJp-QV30
Optional. Enter the secret used to sign the JWT.
Valid secret
{ "alg": "HS256", "typ": "JWT" }
Valid header
{ "sub": "1234567890", "name": "John Doe", "admin": true, "iat": 1516239022 }
Valid payload
While JWTs secure payload integrity, auth endpoints are frequent targets for token replay, algorithm downgrade attacks, and broken object-level authorization (BOLA). Test your authentication attack surface on WeSecureX.
A JSON Web Token (JWT) is a compact, URL-safe format for transmitting claims between parties. A JWT consists of three base64url-encoded parts separated by dots: header.payload.signature. The header describes the algorithm used. The payload contains the claims. The signature is used to verify the token has not been tampered with.
Decode a token to read its header and payload, paste the HMAC secret to check the signature, or edit the claims and generate a new signed token. HS256, HS384, and HS512 run with the Web Crypto API in your browser.
Decoding reads the header and payload from the base64url encoding. Anyone can decode a JWT - it is not encrypted by default. Verification checks the signature with the shared secret. This debugger verifies HMAC signatures (HS256, HS384, HS512) locally. A matching signature means the payload matches that secret. It does not mean you should trust a production token pasted into a browser.
atob() and Web Crypto.Why developers and engineers prefer this tool for everyday development workflows.
Works seamlessly on all modern desktop, tablet, and mobile browsers including Chrome, Firefox, Safari, Edge on Windows, macOS, Linux, Android, and iOS.
Processes your data in real-time directly inside your browser. No queue wait times, no network round-trips, and zero latency.
Your code, tokens, passwords, and files are never transmitted to any external server or saved in logs. Everything runs locally in memory.
Supports one-click sample loading, file drag-and-drop, and pasting directly from your clipboard (Ctrl + V) for effortless workflows.
Built strictly according to official specifications (RFCs, W3C, ISO, and standard cryptographic algorithms) ensuring accurate output every time.
No registration, no accounts, no subscriptions, and no hidden daily quotas. Use this tool as many times as you need without restrictions.
Continuously maintained and improved based on developer feedback.
Optimized processing algorithms with Web Workers and native browser APIs (SubtleCrypto, Canvas 2D) for instantaneous zero-latency execution.
Added instant clipboard pasting (Ctrl + V) and drag-and-drop file support to accelerate developer productivity without manual downloads.
Redesigned responsive touch controls, flexible copy buttons, and camera preview framing for mobile and tablet browsers.
Encode and decode URLs and query string parameters online with full UTF-8 percent-encoding support.
Generate MD5, SHA-1, SHA-256, SHA-384, and SHA-512 hashes simultaneously in real-time. 100% private, client-side Web Crypto.
Compute MD5, SHA-1, SHA-256, and SHA-512 checksums client-side without uploading files. Verify file integrity privately.