JSON filter field by regex
ClientPattern filter on one text column.
Learn more: json filter field by regex
Runs locally in your browser on the JSON you paste.
Local processing
Parsing and output formatting run entirely in your browser—nothing is uploaded for this transform.
Regex filter on one field
Keep objects in a JSON array when a chosen field matches a JavaScript regular expression—useful after bulk remaps on JSON replace values or before counting nulls on JSON count field nulls.
How to use
Name the field path, enter a regex (no slashes required), and paste the array. Test patterns on regex tester when flags or anchors are unclear.
Nearby workflows on Toolcore
- JSON replace values — to normalize enum values before regex filtering.
- JSON count field nulls — for quality stats on the filtered subset.
- JSON to TSV — to export matching rows after the filter pass.
Common use cases
- Pattern filter on one text column.
- Paste valid JSON, then read the transformed output below.
Common mistakes to avoid
Invalid JSON
Fix parse errors before expecting output.
FAQ
Is data uploaded?
No—all parsing and transforms run locally.
How is this different from jq?
This page focuses on one deterministic task without a filter language.
Common search terms
Phrases people search for that match this tool. See the full long-tail keyword index.
- filter json array by regex
- json field regex filter
- keep json rows matching pattern
- regex filter json objects online
More tools
Related utilities you can open in another tab—mostly client-side.
JSON formatter
ClientJSON format online: pretty-print, minify, validate, escape, download .json.
JSON cleaner
ClientRemove null and optional empty values recursively—pretty-printed output; local only.
JSON compare
ClientSide-by-side diff paths; sample pre-filled.
JSON tree viewer
ClientExplore nested JSON as a collapsible tree—filter, copy JSONPath or Pointer paths; local only.