JSON Filter
Free online JSON array filter. Filter array elements using JavaScript expressions. Keep items matching a condition, discard the rest. Runs locally in your browser, no upload. 100% Local
How to Use the JSON Filter
Paste a JSON array into the left panel and write a JavaScript filter expression in the top box. Each array element is passed as item to the expression. Elements returning truthy are kept, falsy ones are discarded. Use Clear to reset.
Expression examples
item.age > 18— keep only adultsitem.name !== "Test"— exclude test entriesitem.status === "active" && item.score > 50— compound conditionsitem.tags.includes("urgent")— check array membership
Features
- Full JavaScript expression support per element
- Supports property access, comparisons and logical operators
- Reports matched count out of total count
- All processing runs locally in your browser. Your data is not uploaded to any server.