HomeDeveloper toolsMongoDB Query Shape Checker

MongoDB Query Shape Checker

Inspect a JSON query object for malformed and risky operator shapes.

Processing stays in your browser. Checks common MongoDB query shapes and flags executable operators. This does not validate a collection schema or establish query safety/performance.

How to use the mongodb query shape checker

Inspect a JSON query object for malformed and risky operator shapes. Complete the query json object fields above, or upload a UTF-8 text file for query json object. Choose Run tool, review the output, then copy or download the result.

Example

A non-array $in value produces an error.

Good to know

Checks common MongoDB query shapes and flags executable operators. This does not validate a collection schema or establish query safety/performance.