Skip to main content

OAuth Scope Decoder

Decode OAuth access tokens and JWT scope claims. Paste a JWT (to extract scopes from the payload) or a raw space-separated scope string. Shows permissions with human-readable descriptions. Runs entirely in your browser — tokens are never sent anywhere.

✓ JWT payload decoding ✓ Scope descriptions (GitHub, Google, OIDC) ✓ 100% client-side — token never leaves browser

Frequently Asked Questions

What are OAuth scopes?▼

OAuth scopes define the permissions an application is requesting when a user authorizes it. Scopes like 'read:user', 'repo', 'email' tell the user and authorization server exactly what access the app will have. The principle of least privilege says apps should request only the minimum scopes they need.

What is a JWT and how does it contain scopes?▼

A JWT (JSON Web Token) is a base64-encoded token with three parts: header.payload.signature. The payload often contains a 'scope' or 'scp' claim listing granted permissions. This tool decodes the payload to show you what scopes are embedded in the token.

Are scopes standardized across OAuth providers?▼

No — each provider defines their own scopes. GitHub uses 'repo', 'user', 'admin:org'. Google uses 'https://www.googleapis.com/auth/gmail.readonly'. Auth0 uses custom scopes. OIDC defines standard scopes: 'openid', 'profile', 'email', 'address', 'phone', 'offline_access'.

What is the difference between 'scope' and 'scp' in a JWT?▼

'scope' (string, space-separated) is common in OAuth 2.0 access tokens. 'scp' (array of strings) is used by some providers like Microsoft Azure AD and Auth0. Both represent granted permissions. This tool handles both formats.

Can this tool validate JWT signatures?▼

No — signature validation requires the server's public key or secret. This tool only decodes the payload to show claims and scopes. Never use client-side JWT decoding as a security check. Always validate signatures on your server using a proper JWT library.

Share this tool: X / Twitter LinkedIn
✓ 60,000+ developers use DevPlaybook ★★★★★ 4.8 / 5 on Gumroad ✓ MIT licensed · Instant download ✓ No login required

Related Products

on Gumroad

You Might Also Need

More Free Tools

Enjoying this tool? Get more like it.

Weekly developer tool guides, productivity playbooks & AI tricks. Free. No spam.

DevPlaybook Pro 7 days free

Unlock AI-Powered Dev Tools

  • ⚡ AI Code Review, Doc Generator & SQL Builder
  • ⚡ All premium templates & early access
  • ⚡ Member discounts on Gumroad products
Start Free Trial →

$9/mo after trial · Cancel anytime

Want the full toolkit?

Get DevPlaybook Pro

Every template, guide, boilerplate, and automation script in one bundle. 13 premium products — grab them all at once and save big.

$79
$241 separately Save $162 (67% off)
Get DevPlaybook Pro — $79 →

MIT licensed · Instant download · No subscription

See what's included → Browse all deals →