Calculates on this device. File exports run online.
Firebase Configuration Validator
Paste your firebaseConfig, or open google-services.json or GoogleService-Info.plist, to find missing fields, ids from different projects and settings that will fail. Check and format Firestore or Storage security rules, try them on a request, and check Analytics events and Remote Config templates. Configs stay in your browser.
Enter your values
Check these values
Your values are worked out in this browser. They are not sent to a server.
Your result will show here
Fill in the values, then choose the button below them.
Your result
How it was worked out
How to check a Firebase config
- Choose Firebase config and paste the firebaseConfig object of your web app, or open google-services.json (Android) or GoogleService-Info.plist (iOS).
- For Android and iOS, type the package name or bundle id of your app: the page checks that the file has it.
- Press Check the config. Each field is listed as ok, error, warning or note, with what to do.
What the config check finds
- Missing fields, and placeholders of examples that were never replaced.
- Ids that do not agree: an app id from another project, a web app id in an Android file, a bundle or package name the app does not have.
- Settings that fail: a bucket written with gs://, an old UA- Analytics id, an authDomain with https://, a databaseURL of the wrong form.
- The API key: its form only. A Firebase API key identifies the project and is not a secret by itself; restrict it in the Google Cloud console and use App Check.
Security rules: check, format and try
- Check and format: the rules are read and written again neatly. Rules that let anyone in, test-mode rules (request.time < timestamp.date(…)) and the day they end, rules that let any signed-in user write everything, unknown methods, functions and names are listed with their line.
- Try on a request: type a path such as /users/alice, the operation (get, list, create, update, delete), who is signed in, and the data. The page shows each allow statement that applies and what its condition gives. Conditions that read other documents with get() or exists() cannot be worked out here: try them in the Firebase emulator.
Analytics events and Remote Config
- Events: names and parameters of up to 40 characters (letters, digits, _), at most 25 parameters, text values up to 100 characters, reserved names (first_open, session_start …) and prefixes (firebase_, google_, ga_), user properties of up to 24 characters with values up to 36. Custom names such as buy_now are matched to the recommended event they mean (purchase).
- Remote Config: parameter keys, value types (STRING, NUMBER, BOOLEAN, JSON) and their values, conditions that do not exist or are never used, and the limits (3,000 parameters, 2,000 conditions, 1 MB).
Privacy
Configs, rules and templates are checked in your browser: they are not sent, not saved, and the config is left out of the CSV file. Only the files you choose in the box below are sent to the Toolvito server; its report shows API keys masked. Download the result within one hour after the job finishes. Choose Delete files now to request earlier removal. The hourly cleanup normally removes files within one to two hours after completion.