JWT Parser & Decoder
Header, Payload & ExpiryDecode JWT header, payload and signature. View claims, timestamps and expiration details.
Enter JWT Token
Your data stays in your browser
All JWT decoding is done locally in your browser. We do not send your token to any server.
JWT Parser & Decoder — Decode JSON Web Tokens Online
A JSON Web Token (JWT) is a compact, URL-safe token made of three Base64URL parts: header, payload and signature. This tool decodes each part instantly so you can inspect claims, algorithms and expiry details.
Decoding happens entirely in your browser. Your token is never uploaded, logged or sent to any server. Note that decoding is not verification — the signature is not validated.
Why Use PlayWithJSON?
- Decode header, payload and signature instantly
- Human-readable iat, exp and nbf timestamps in UTC
- Clear valid / expired / not-yet-active token status
- One-click copy for each section
- 100% client-side — your token never leaves the browser
Key Capabilities of Our JWT Decoder
Pretty-printed Header & Payload
View decoded JSON with readable indentation and labeled standard claims.
Expiry Detection
Instantly see if the token is valid, expired, or not yet active.
Timestamp Conversion
Converts Unix iat, exp and nbf claims to UTC dates with relative time.
One-Click Copy
Copy the header, payload or signature to your clipboard.
How to Decode a JWT Online
Paste Your Token
Paste the JWT (header.payload.signature) into the input box or click Load Example.
Inspect Claims
Review the decoded header, payload and claims table.
Check Token Status
See whether the token is valid, expired or not yet active.
JWT Decoding Example
Valid vs Invalid JWT Structure
Core Capabilities
Frequently Asked Questions about JWT Decoder
More JSON Developer Tools
JSON Formatter
Format, validate and inspect JSON data
JSON5 Formatter
Format and validate JSON5 with comments
JSON ↔ JSON5
Convert between JSON and modern JSON5
JSON to TypeScript
Generate TypeScript interfaces from JSON
JSON to Zod
Generate Zod schemas from JSON
Text to JSON
Convert text and schemas into structured JSON
JSON Sorter Online
Sort JSON keys alphabetically and order arrays
JWT Decoder Online
Decode JWT header, payload and expiration
JSON Stringify Online
Escape quotes and stringify or unescape JSON
Mock JSON Generator
Generate realistic mock data for APIs and testing
JSON to CSV
Export structured JSON arrays into CSV spreadsheets
JSONPath Tester
Query and filter JSON data with path expressions
JSON Schema Generator
Generate JSON Schema from sample JSON
JSON Diff & Compare
Compare two JSON objects and find differences
JSON ↔ YAML
Convert JSON/JSON5 to YAML and back with comments
JSON ↔ XML
Convert JSON to XML and XML to JSON with attributes
YAML to CSV
Convert YAML lists and objects into spreadsheets
CSV to JSON / JSON5
Convert CSV/TSV to JSON or JSON5 with type parsing
JSON to BigQuery
Generate BigQuery Schema JSON and CREATE TABLE DDL
JSON to GraphQL
Generate GraphQL SDL types, queries, and inputs
JSON to MySQL
Generate MySQL CREATE TABLE DDL and INSERT queries
JSON to PostgreSQL
Generate PostgreSQL CREATE TABLE DDL, JSONB and INSERTs
JSON Flattener
Flatten nested JSON to dot notation or unflatten back
JSON Tree Visualizer
Interactive SVG mindmap graph and collapsible node tree
JSON Minifier Online
Compact and compress JSON by stripping whitespace
JSON Token Counter
Calculate LLM tokens (GPT-4o, Claude) and API costs
Broken JSON Repair
Automatically heal broken and truncated AI/LLM JSON