Browser tool

JSON Workbench

Compare, merge, flatten, and convert JSON to YAML, XML, CSV, and TypeScript in the browser. XML attributes are rejected.

Workspace

JSON Workbench

One browser page for formatting, comparing, flattening, sorting, trailing-comma repair, and conversion between JSON, YAML, a limited XML subset, CSV, and a TypeScript type.

Common Use Cases

  • •See which keys differ between two API payloads
  • •Turn a JSON object into YAML with js-yaml
  • •Read $.items[0].name from a document

Who Benefits from This Tool

  • •Developers comparing or converting structured data locally

Frequently Asked Questions

Which XML is supported?

Elements and text. Attributes, doctypes, and processing instructions stop the conversion with an error.

Which JSONPath is supported?

Paths that start with $ and then use .key, [index], or .*. Recursive descent is rejected.