Browser local processingInputs and files are not uploaded to our serverProcess credentials
Loading tools...
Online JSON Tool

Format, validate, and convert JSON all in one

From API responses to config files, understand structure, locate errors, extract fields, compare versions, and generate reusable results in a local workspace.

JSON Format & Error Fix

Reformat compressed or messy JSON with 2 or 4 spaces indentation, locate missing commas, quotes, brackets and preview changes before applying fixes.

Browse tree and copy paths

Collapse to browse object and array levels, search field names or values, and copy JSONPath of selected nodes to quickly locate deep API fields.

JSONPath Query & Field Extraction

Query arrays, fields, and filters with JSONPath to extract matches and their paths. Great for analyzing API responses and batch data.

Compare API responses with JSON Diff

Compare two JSON files by data structure, highlighting added, deleted, and modified fields to avoid false differences from text wrapping or key ordering.

JSON to CSV, YAML & TypeScript

Convert JSON to CSV for table analysis, YAML for config files, or TypeScript types for frontend projects.

JSON Schema validation and sensitive data redaction

Generate JSON Schema from examples, validate field structure, and identify sensitive information like phone numbers, emails, and tokens to create shareable sanitized copies.

FAQ

Before using JSON workbench, you may want to know

Is JSON data uploaded to a server?

No. Formatting, querying, comparing, converting, Schema validation, and desensitization are done in the current browser. Refreshing or closing the page means this site won't save your input.

Can JSON syntax errors be located and fixed?

Yes. The workbench displays the row and column of errors along with surrounding content, and provides fix previews for common missing quotes, commas, or brackets issues for you to confirm before applying.

What's the difference between JSON Diff and regular text comparison?

JSON Diff compares objects, arrays, and field paths, so indentation, line breaks, and object key order are not mistaken for data changes.

Can I generate TypeScript types and JSON Schema from JSON?

Yes. The convert mode can generate TypeScript types, and the schema mode can generate a Draft 2020-12 JSON Schema from the current sample and continue validating data.

What is the maximum JSON file size supported by the online workbench?

Current single JSON file supports up to 10 MB. Larger content will be processed in tasks within the browser with a cancel option to prevent the page from becoming unresponsive.