#1 Free Web Utility • 100% Client-Side Sandboxed

Firebase JWT Decoder — Inspect Auth ID Tokens & Claims

Decode Firebase Authentication ID tokens instantly. Inspect the firebase claim object, sign-in providers, and user IDs securely in your browser to debug Security Rules and Cloud Functions.

Zero Server Uploads
No Registration Required
Instant Browser Processing
100% Free Forever

Client-Side Processing

All calculations and asset transformations happen in your browser memory. Your files never leave your device.

Complete Data Privacy

Zero tracking telemetry, zero cloud database persistence, and automatic memory cleanup on tab close.

Unlimited Free Usage

No artificial limits, no subscription walls, no watermarks, and no signups needed to execute unlimited workflows.

High-Speed Operations

Optimized HTML5 and WebAssembly engines perform algorithmic conversions within milliseconds with zero server lag.

Simple 3-Step Process

How to Decode Firebase Authentication ID Tokens

Execute your tasks within seconds through our streamlined browser-native pipeline.

01

Stage Target Files

Select or drag & drop your files securely into the browser workspace sandbox without transmitting data to remote servers.

02

Configure & Process

Fine-tune your parameters visually and let the client-side Firebase JWT Decoder Inspect Auth ID Tokens & Claims engine optimize your data instantly.

03

Download Master Output

Extract and save your pristine, high-fidelity processed document directly back to your local device memory.

Tooloraa Icon

Comprehensive Technical Guide & Overview

Written by Tooloraa Engineering Team • 100% Free & Open Guide

When building applications with Firebase Authentication, your frontend receives a Firebase ID Token—a specialized JSON Web Token that proves the user's identity to your backend services, Cloud Functions, and Firebase Security Rules. But when a database read fails or a Cloud Function rejects a request, you need to know exactly what is inside that token. Our Firebase JWT Token Decoder is built specifically to help developers inspect Firebase ID tokens instantly and securely.

Unlike generic decoders, this tool highlights the unique structure of Firebase tokens, specifically the nested firebase claim object that contains critical metadata like the sign-in provider and linked identities. Because Firebase tokens grant access to your production database and storage buckets, pasting them into third-party websites is a massive security risk. Our decoder runs 100% locally in your browser, ensuring your active session tokens remain completely private.

The Anatomy of a Firebase ID Token

While Firebase ID tokens follow the standard JWT structure (Header.Payload.Signature), their payload contains a very specific set of claims defined by Google's Identity Platform. Understanding these claims is the key to debugging authentication flows.

The 'firebase' Claim Object

This is the most critical part of a Firebase token. It is a nested JSON object that tells your backend exactly how the user authenticated. It includes:

  • sign_in_provider: Indicates whether the user logged in via 'password', 'google.com', 'apple.com', 'custom', or 'anonymous'.
  • identities: A map of the provider IDs linked to this account (e.g., the user's Google email or Apple UID).
  • tenant: If you are using Firebase Authentication with Identity Platform multi-tenancy, this shows the tenant ID.

Standard Identity Claims

Alongside the Firebase object, the payload includes standard OIDC claims like sub (the Firebase UID), email, email_verified, and picture (avatar URL).

Debugging Firebase Security Rules

The most common use case for decoding a Firebase token is troubleshooting Firestore or Realtime Database Security Rules. If your frontend is getting 'Missing or insufficient permissions' errors, the issue usually lies in the token's claims.

Security Rule VariableCorresponding JWT ClaimWhat to Check in the Decoder
request.auth.uidsubDoes the UID match the document owner?
request.auth.token.emailemailIs the email verified? (email_verified: true)
request.auth.token.firebase.sign_in_providerfirebase.sign_in_providerAre you blocking anonymous logins?
request.auth.token.adminCustom ClaimDid the Admin SDK successfully set the custom claim?

Handling Firebase Custom Claims

For role-based access control (RBAC), developers use the Firebase Admin SDK to attach custom claims (like admin: true or premium: true) to a user's token. These custom claims appear at the root level of the decoded payload. If your Security Rules are checking for a custom claim but it is missing in the decoded token, it means either the Admin SDK script hasn't run yet, or the user hasn't refreshed their ID token on the client side (using user.getIdToken(true)).

Why Local Decoding is Mandatory for Firebase

A Firebase ID token is a bearer token. Anyone who possesses it can read and write to your Firestore database, upload files to your Storage buckets, and invoke your Cloud Functions—impersonating that exact user. Uploading a production Firebase token to a generic online debugger means handing over your database keys to an unknown server. Our tool processes the Base64URL string entirely within your browser's JavaScript engine. The token is parsed, displayed, and then forgotten the moment you close the tab.

Troubleshooting Common Firebase Token Errors

  • "Token expired" in Cloud Functions: Firebase ID tokens expire every 60 minutes. Check the exp (expiration) timestamp in the decoder. If it has passed, your client SDK needs to silently refresh the token.
  • "Invalid signature" on backend: This tool decodes but does not verify signatures. To verify, your backend must fetch Google's public JWKS (JSON Web Key Set) from https://www.googleapis.com/robot/v1/metadata/jwk/securetoken@system.gserviceaccount.com and match the kid (Key ID) in the token header.

Final Thoughts

Whether you are writing complex Firestore Security Rules, debugging a Cloud Functions onCall handler, or verifying custom claims for premium subscriptions, our Firebase JWT Decoder gives you instant, secure visibility into your authentication tokens without compromising your application's security.

Ready to Use Firebase JWT Decoder Inspect Auth ID Tokens & Claims?

Fast, secure, and private execution right in your browser.

Launch Tool Free
Got Questions?

Frequently Asked Questions

Everything you need to know about Tooloraa's free, client-side web utility suite.

Simply copy the ID token string from your Firebase client SDK (using `user.getIdToken()`) and paste it into the decoder. The tool will instantly split the string, decode the Base64URL segments, and display the header and payload claims in a clean JSON format.
The `firebase` claim is a nested JSON object specific to Google Identity Platform. It contains critical metadata such as `sign_in_provider` (e.g., 'google.com', 'password'), `identities` (linked provider UIDs), and `tenant` ID if you are using multi-tenancy.
Yes. Any custom claims you have set via the Firebase Admin SDK (such as `admin: true` or `role: 'editor'`) will appear at the root level of the decoded payload. If they are missing, ensure the client has forced a token refresh.
Yes, it is completely safe. This tool operates 100% client-side in your browser. Your Firebase token—which grants access to your database and storage—is never transmitted over the network or logged on any server.
Firebase ID tokens have a strict 60-minute lifespan for security reasons. The decoder reads the `exp` (expiration) Unix timestamp and compares it to your local clock. If it shows expired, your frontend SDK needs to request a fresh token from Firebase Auth.
No, it is a decoder and inspector. Cryptographic verification requires downloading Google's public JWKS keys and matching the `kid` (Key ID) from the token header. This must be done on your secure backend server, never in a browser tool.
The Firebase UID is stored in the standard `sub` (subject) claim within the payload. This is the exact string you should use in your Firestore Security Rules (`request.auth.uid`) and backend database queries.
Yes, but with a caveat. Custom tokens (generated by the Admin SDK to sign users in) have a different payload structure and are meant to be exchanged for an ID token. The decoder will read them, but they are not meant for API authorization.
The `aud` (audience) claim in a Firebase ID token will always be your Firebase Project ID. If the `aud` does not match the project ID your backend is expecting, the token should be rejected.
Absolutely. For anonymous users, the `firebase.sign_in_provider` claim will read 'anonymous', and claims like `email` or `picture` will be absent. This helps verify if your Security Rules are correctly blocking or allowing anonymous access.
100% Free & Unlimited Access

Ready to Start Using Firebase JWT Decoder Inspect Auth ID Tokens & Claims?

Experience fast, private, and powerful client-side execution with zero file queues, zero fees, and zero software downloads.

Decode Firebase JWT
No Sign-Up
No Installation
Private & Secure