← Back to archive

Repo of the Day

AykutSarac/jsoncrack.com

Published: Dec 3, 2026

Open repository ↗

✨ Innovative and open-source visualization application that transforms various data formats, such as JSON, YAML, XML and CSV into interactive graphs

Summary

JSON Crack is an open-source TypeScript application that turns JSON, YAML, CSV, and XML into interactive graphs or trees while also formatting and validating data. It can convert between formats, generate typed code and JSON Schema, run jq and JSONPath queries, and export visualizations, with web, VS Code, and Chrome extension workflows.

What it is useful for

Engineers can paste a nested API response, configuration file, or exported dataset to inspect its structure more easily than in a text editor. The graph and tree views support dark and light modes and make relationships between parent and child values easier to follow.

The repository supports several practical tasks:

  • Convert JSON to CSV or XML to JSON when a downstream tool needs a different format.
  • Format and validate JSON, YAML, and CSV.
  • Generate TypeScript interfaces, Golang structs, Kotlin data classes, Rust serde types, and JSON Schema.
  • Create and validate JSON Schema.
  • Run jq or JSONPath queries against structured data.
  • Export a visualization as PNG, JPEG, or SVG.

For day-to-day work, the documented integrations include a VS Code extension, a Chrome extension, and the jsoncrack-react npm package. The VS Code workflow is particularly relevant for engineers who want to open a .json file and enable its visualization without leaving the editor. The README states that data processing happens locally and that nothing is stored on the project’s servers.

How engineers can use it

To run the web application locally, the README requires Node.js 24 or newer and pnpm 10 or newer:

git clone https://github.com/AykutSarac/jsoncrack.com.git
cd jsoncrack.com
pnpm install
pnpm dev:www

The web app is then available at http://localhost:3000/. Other documented commands include pnpm dev:vscode, pnpm dev:chrome, and pnpm dev for all workspaces.

For the VS Code extension, open the repository root in VS Code, press F5, and select Run VSCode Extension (apps/vscode). In the extension host, open a .json file and run JSON Crack: Enable JSON Crack visualization.

A Docker setup is also documented under apps/www:

cd apps/www
docker compose build
docker compose up

That version runs at http://localhost:8888.

One relevant limitation is the supported node limit, controlled by NEXT_PUBLIC_NODE_LIMIT in apps/www/.env; the README does not state its default value. The README also lists the npm integration but does not provide embedding instructions, so engineers should consult the linked package documentation before integrating it into an application.