JSON Formatter
Format, minify and validate JSON without changing large integers, number notation, key order or string escapes. Import files and locate syntax errors.
Find and extract a JSON value by its path, browse available paths and preserve large numbers exactly.
Updates as you type or change an option
Leave blank for the whole document. Use /users/0/name to select a value; escape / as ~1 and ~ as ~0.
When an API response is large, select the exact field or array item you need for a test fixture.
Paste JSON and enter a JSON Pointer such as /users/0/name, or choose a path from the browser. Leave the path empty to select the entire document. Copy the selected value or download it as JSON.
Array indexes start at zero. In property names, escape / as ~1 and ~ as ~0. This tool uses RFC 6901, not JSONPath. Duplicate keys are rejected. Limits: 2 MiB, 30,000 values and 80 nested levels; path browsing shows the first 300 nodes.
Use ~1 for / and ~0 for ~ within a path segment. Array indexes start at 0; an empty path selects the whole document. JSONPath expressions are not supported.
The list shows the first 300 nodes, so type the full path yourself, such as /users/0/id. Index 0 selects the first array item. Extraction preserves the JSON value, including large integers; a missing field produces an error rather than an empty replacement.
Your choice about analytics
We use Umami to measure page visits. Analytics is optional, and your tools work either way.
Your current setting allows analytics.
Your current setting does not allow analytics.
The analytics service has changed. Refresh the page after finishing your current work to apply the new settings.
Your browser is sending a Do Not Track or Global Privacy Control signal. Analytics will remain off.
We use Umami to understand which pages people visit and how they find this site. You can decline or change your choice at any time. All site features will still work.
Your choice is saved in this browser for six months. Analytics does not upload files or content you enter in our tools.
Privacy Policy
Comments
0