Skip to main content

OAuth 2.0 Token Debugger

Decode any OAuth 2.0 access token, OIDC ID token, or JWT. Inspect all claims with descriptions, check expiry status, view granted scopes, and detect token type — entirely client-side.

✓ Runs 100% in your browser ✓ Highlights expired tokens ✓ Scope breakdown with descriptions ✓ Detects OIDC vs OAuth token type

Frequently Asked Questions

What is an OAuth 2.0 access token?▼

An OAuth 2.0 access token is a credential issued by an authorization server that grants a client access to specific resources on behalf of a user. Modern OAuth implementations typically use JWT (JSON Web Token) as the token format — a compact, self-contained structure with header, payload, and signature. The payload contains claims like user ID (sub), expiry (exp), issuer (iss), and granted scopes.

Is it safe to paste my token into this tool?▼

Yes — this debugger runs entirely in your browser using JavaScript. Your token is never sent to any server or third party. However, as a best practice, avoid pasting real production tokens that grant access to sensitive systems. Rotate tokens after debugging sessions if in doubt.

What are OAuth 2.0 scopes?▼

Scopes are space-separated strings in the scope claim that define what the token is authorized to do. Standard OIDC scopes include openid (establishes identity layer), profile (name, picture), and email. Application-specific scopes follow formats like read:users or write:orders. The token holder can only perform actions covered by the granted scopes.

What is the difference between an access token and an ID token?▼

An access token is used to authorize API calls — it proves the bearer is allowed to perform certain actions. An ID token (OIDC) is used to authenticate — it proves who the user is and contains identity claims (name, email, picture). ID tokens contain the at_hash claim and are typically shorter-lived. Access tokens are sent with API requests; ID tokens are consumed by the client to establish a user session.

Why can't I verify the signature here?▼

JWT signature verification requires either your HMAC secret key (for HS256) or the issuer's public key (for RS256/ES256). These keys should never be exposed in a browser. This tool decodes the header and payload (which are just base64url-encoded) but cannot cryptographically verify the signature without the key. For production verification, use your backend with a library like jsonwebtoken (Node.js) or python-jose (Python).

What does 'exp' mean and why is token expiry important?▼

exp (expiration time) is a Unix timestamp (seconds since January 1, 1970). Any token with an exp value in the past is considered expired and should be rejected by resource servers. Access tokens are typically short-lived (minutes to hours) to limit damage if stolen. Always check token expiry before using it in API calls to avoid 401 Unauthorized errors.

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

JWT Decoder OpenAPI Validator API Response Mock Generator API Response Time Tester JWT Builder OpenAPI Schema Validator OAuth2 Flow Visualizer OpenAPI Mock Generator OAuth2 Flow Debugger API Test Case Generator API Request Builder HTTP Security Headers Generator JWT Debugger Pro OAuth2 Flow Tester API Mock Server Config Generator HTTP Security Headers Checker authentik API Key Generator API Rate Limit Calculator API Response Formatter & Analyzer HTTP API Tester LLM Cost Calculator LLM Token Counter AI Prompt Cost Calculator REST API Request Builder Content Security Policy Builder LLM Prompt Cost Calculator API Response Mocker HTTP Header Inspector AI Rate Limit Calculator Prompt Injection Tester Token Context Calculator GCP Service Account Key Auditor Token Counter & Cost Estimator HTTP Headers Analyzer AI Doc Generator — Pro Tool AI System Guardian .htaccess Generator HTTP Methods Reference HTTP Code Snippet Generator HTTP Status Code Reference HTTP Status Code Reference JSON Diff Viewer JSON Diff nginx Config Generator Password Strength Checker Rate Limiter Tester API Changelog Generator HTTP Mock Response Builder HMAC Generator CSP Header Builder Rate Limit Calculator CORS Policy Builder AWS IAM Policy Validator HTTP Cookie Parser SBOM Generator HTTP Status Code Lookup TOTP Code Generator HTTP Status Code Lookup Vue Component Generator HTTP Status Code Reference LLM Context Window Calculator HTTP Header Analyzer Dockerfile Linter mTLS Certificate Chain Builder Prompt Token Estimator Mock Service Worker (MSW) API Mocking Guide Pulumi Modern IaC Guide HashiCorp Vault Secrets Management Guide AES Encryptor / Decryptor OpenAI Token Counter Casdoor Docker Layer Optimizer HTML5 Canvas API Playground GraphQL Client Configurator Axios Interceptor Builder OpenAI Function Calling Generator AI Context Window Visualizer AI API Rate Limit Calculator Password Strength Analyzer

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 →