Encoding

JWT Decoder

Decode and inspect JSON Web Tokens.

How to use it

  1. Open Devly from the wrench in your menu bar, or press ⌃⌥⌘D. Press ⌘P, type JWT Decoder and press Return.
  2. Paste or type your text into Input.
  3. Adjust the Options on the right if you need to. The defaults are listed below.
  4. Press Decode, or ⌘↵.
  5. Use Copy or ⇧⌘C to copy the result. ⌘L clears everything.

Options

OptionValuesDefault
Pretty print JSONFormat JSON with indentationOn or offOn
Show raw Base64Display raw Base64 valuesOn or offOff

Example

Real output from Devly, with the default options.

Input
eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJzdWIiOiIxMjM0NTY3ODkwIiwibmFtZSI6IkFkYSBMb3ZlbGFjZSIsInJvbGUiOiJhZG1pbiIsImlhdCI6MTc2MDAwMDAwMCwiZXhwIjoxOTAwMDAwMDAwfQ.4Adcj3UFYzPUVaVF43FmMab6RlaQD8A9V8wFzzht-KQ
═══════════════════════════════════════
                JWT DECODED
═══════════════════════════════════════

📋 HEADER
───────────────────────────────────────
Algorithm: HS256
Type: JWT

{
  "alg" : "HS256",
  "typ" : "JWT"
}

📦 PAYLOAD (Claims)
───────────────────────────────────────
Subject (sub): 1234567890
Expiration (exp): Mar 17, 2030 at 1:46:40 PM
…

From Terminal

With the free command-line tool installed:

Terminal
devly jwt --path input.txt
# or pipe text in
pbpaste | devly jwt

Quick Switch also finds it by: jwt, json, web, token, decode, header, payload, claim.

More Encoding tools