jsontoolskit.org
JSON and JSON Schema utilities, in the browser
Say hi →

JSON Extract

literal · glob · regex · keys or values

Walk a JSON document recursively and extract every key or value that matches a pattern. Patterns can be literal strings, globs (*_id), or regex (/^user_/). Output as a flat list, with-paths, or a structured object.

Paste JSON.

How to extract

  1. Paste your JSON.
  2. Pick ModeExtract keys or Extract values.
  3. Enter a Pattern: literal string, glob (*_id), or regex (/^user_/).
  4. Pick Output shape: Flat list, With paths (user.id), or JSON object preserving structure.
  5. Output appears live. Copy or Download.

FAQ

What syntax do globs use?

* matches any characters, ? matches one. Other characters are literal.

How are regex flags supported?

Wrap the pattern in /.../. Flags (like /foo/i) aren't currently supported — make patterns case-insensitive manually if needed.

Will it work offline?

Yes.