JSON Transformer

Paste JSON and reshape it with safe, built-in steps: jump to a path (e.g. data.items[0]), keep only selected keys on an object, or filter an array of objects by a field value. No scripts run on your data—this is not a full programming environment. For pretty-print only, use the JSON formatter.

Clear

Or upload a JSON file

Max 10 MB UTF-8 · processed locally

1. Focus (optional)

Use dot segments and [index] for arrays. Invalid paths stop with a clear error.

2. Pick keys (optional)
3. Filter array (optional)

Runs on the focused value after steps 1–2; it must be a JSON array of objects.

Result

Runs only in your browser. No eval, no uploads.

How to transform JSON online

Chain a path, optional key pick, and optional array filter, then copy or download the result.

Paste or upload JSON

Stay under the size limit. Optionally set a path to focus on part of the tree.

Choose transforms

Pick keys on an object, filter an array by one field, or use path alone to extract a subtree.

Run and export

Copy or download JSON, or send the output back to the input for another pass.

Frequently asked questions

No arbitrary code. The tool applies fixed operations: path navigation, key picking, and string-equality filtering on arrays. There is no eval or user-supplied expressions.
About 10 MB of UTF-8 text per paste or file. The JSON Validator allows a higher limit when your browser can parse in a worker. Very large documents may still hit memory limits.
The formatter focuses on pretty-print and minify. Here you change structure: extract a path, drop keys you do not need, or filter list entries.