logo

JSONPath Query Tool - Extract Data from JSON

JSONPath lets you extract exactly what you need from JSON files without parsing manually. Write expressions to filter arrays, search nested data, or grab specific values. See results instantly as formatted JSON, an expandable tree, or a comparison table.

Love These Free Tools?

JSON Data

Loading...

JSONPath Expression

Ctrl/Cmd + Enter to execute
Results (0)

Execute a query to see results

Query JSON Like a Pro

Extract exactly what you need from complex data structures.

Full JSONPath Support

Use filters, wildcards, array slicing, and recursive searches. Results appear instantly as you type.

Three View Modes

See results as JSON, tree view, or table. Pick whichever makes the data clearest.

Query History

Last 50 queries saved automatically. Click any one to run it again—no retyping.

Save Bookmarks

Keep your common queries handy. Great for testing the same expressions on different data.

18+ Examples

Learn with real examples—basic selectors, arrays, filters, recursive searches, and advanced patterns. Sample data included.

25+ Templates

Browse ready-made query patterns sorted by category. Built-in syntax help explains every operator.

How It Works

Three steps to pull exactly what you need.

1

Add Your Data

Paste it in, upload a file, or load an example to practice.

2

Write Your Query

Type it yourself, pick a template, or use an example. Check syntax help if you're stuck.

3

See Results

Hit Execute or Ctrl+Enter. Results show as JSON, tree, or table. Export or bookmark for later.

Frequently Asked Questions

What is JSONPath?

A query language for pulling data from JSON—think XPath but for JSON. Use expressions like $.store.book[*].author to grab all book authors. Really useful for complex data and API responses.

How do I write a query?

Start with $ for root. Use . for properties, [] for arrays, * for wildcards. Or just grab a template or example—way easier than memorizing syntax.

What are the view modes for?

JSON shows raw results. Tree shows expandable nodes for nested stuff. Table shows paths, values, and types side-by-side—good for comparing matches.

How does history work?

Last 50 queries saved automatically with timestamps. Click any one to run it again. Stored in your browser—sticks around between sessions.

Can I test API responses?

Yep. Paste your API response and test queries before writing code. Saves you from guessing what the query will actually return.

Is my data safe?

Everything runs in your browser. Your data never gets sent anywhere. History and bookmarks stay in local storage on your device.