Firebase Rules Formatter
Format and audit `firestore.rules` security rules with clean indentation and warnings for overly permissive `allow read, write: if true` rules.
How to Use Firebase Rules Formatter
- Paste your `firestore.rules` content.
- Formats nested `match` blocks and runs a static security check for unauthenticated read/write expressions.
Keyboard Shortcuts & Sandbox Guarantee
More in Database Tools
Prettify complex SQL queries (SELECT, JOIN, WHERE, GROUP BY, CTEs) with uppercase keyword normalization and clean clause indentation.
Compress multi-line SQL queries and strip `--` or `/* */` comments into a single-line statement.
Perform static syntax validation and anti-pattern linting on SQL statements (unbalanced quotes/parens, `SELECT *`, missing `WHERE` on `DELETE`/`UPDATE`).
Parse SQL `INSERT INTO` statements or ASCII table query outputs (`+---+---+`) into structured JSON arrays.
Generate `CREATE TABLE` DDL schemas and batched `INSERT INTO` statements from a JSON array of objects.
Format and validate MongoDB filter queries and aggregation pipelines (`$match`, `$group`, `$lookup`, `$project`).