JSON Array Filter
Filter JSON array values with a JSON Pointer field, typed equality, substring, numeric or presence tests.
Start with your input
Edit the example or replace it with your own text.
Choose your options
These settings are optional. Keep the defaults to get started.
How to use JSON Array Filter
- Paste a JSON array and enter a valid JSON Pointer for the field in each item.
- Choose a comparison and supply a typed JSON criterion where needed.
- Filter to retain matching items without reshaping them.
Use JSON types rather than string guesses
The criterion is parsed as JSON: true is a boolean and "true" is a string. Equality is structural, including arrays and objects. Numeric operators require numeric values; substring matching requires strings. The pointer is resolved relative to each array member, so the empty pointer compares the entire item.
Treat missing values separately
A missing pointer matches only the explicit missing test. Existing null and false values still count as present. The not-equal operator examines existing values rather than automatically including missing fields. Malformed pointer escapes are rejected before filtering. This is a focused array filter, not a complete JSONPath implementation or an application authorization rule.
Example input
[{"id":1,"active":true,"profile":{"city":"London"}},{"id":2,"active":false,"profile":{"city":"Paris"}},{"id":3,"active":true}]Is a null field the same as a missing field?
No. A key with null exists and can match JSON null; an absent key matches the missing operator.
Is input uploaded?
Processing takes place in your browser. This tool does not send your input or selected files to a conversion API.