# jsoncrack
**Repository Path**: tyreal2/jsoncrack
## Basic Information
- **Project Name**: jsoncrack
- **Description**: JSON Crack 是一款以结构化交互式图表形式可视化 JSON 数据的工具,方便用户探索、格式化和验证 JSON
- **Primary Language**: JavaScript
- **License**: Apache-2.0
- **Default Branch**: main
- **Homepage**: https://www.oschina.net/p/jsoncrack
- **GVP Project**: No
## Statistics
- **Stars**: 0
- **Forks**: 1
- **Created**: 2026-03-18
- **Last Updated**: 2026-03-18
## Categories & Tags
**Categories**: Uncategorized
**Tags**: None
## README
JSON Crack
The open-source JSON Editor.
Learn more »
ToDiagram
·
Discord
·
Website
·
Issues
·
VS Code
## About the Project
## Visualize JSON into interactive graphs
JSON Crack is a tool for visualizing JSON data in a structured, interactive graphs, making it easier to explore, format, and validate JSON. It offers features like converting JSON to other formats (CSV, YAML), generating JSON Schema, executing queries, and exporting visualizations as images. Designed for both readability and usability.
* **Visualizer**: Instantly convert JSON, YAML, CSV, and XML into interactive graphs or trees in dark or light mode.
* **Convert**: Seamlessly transform data formats, like JSON to CSV or XML to JSON, for easy sharing.
* **Format & Validate**: Beautify and validate JSON, YAML, and CSV for clear and accurate data.
* **Code Generation**: Generate TypeScript interfaces, Golang structs, and JSON Schema.
* **JSON Schema**: Create JSON Schema, mock data, and validate various data formats.
* **Advanced Tools**: Decode JWT, randomize data, and run jq or JSON path queries.
* **Export Image**: Download your visualization as PNG, JPEG, or SVG.
* **Privacy**: All data processing is local; nothing is stored on our servers.
## Recognition
## Integrations
- [VS Code Extension](https://marketplace.visualstudio.com/items?itemName=AykutSarac.jsoncrack-vscode)
- [npm Package (`jsoncrack-react`)](https://www.npmjs.com/package/jsoncrack-react)
## Contributing
- Found a bug or missing feature? Open an issue on [GitHub Issues](https://github.com/AykutSarac/jsoncrack.com/issues).
- Want to contribute code or docs? Start with our [contribution guide](./CONTRIBUTING.md).
## Sponsors & Support
If you find JSON Crack useful, you can support the project by using [ToDiagram](https://todiagram.com).
## Stay Up-to-Date
JSON Crack officially launched as v1.0 on the 17th of February 2022 and we've come a long way so far. Watch **releases** of this repository to be notified of future updates:
## Getting Started
To get a local copy up and running, please follow these simple steps.
### Prerequisites
Here is what you need to be able to run JSON Crack.
- Node.js (Version: >=24.x)
- pnpm (Version: >=10)
## Development
### Setup
1. Clone the repo into a public GitHub repository (or fork https://github.com/AykutSarac/jsoncrack.com/fork). If you plan to distribute the code, read the [`LICENSE`](/LICENSE.md) for additional details.
```sh
git clone https://github.com/AykutSarac/jsoncrack.com.git
```
2. Go to the project folder
```sh
cd jsoncrack.com
```
3. Install packages
```sh
pnpm install
```
4. Run the web app
```sh
pnpm dev:www
# Running on http://localhost:3000/
```
### Useful Commands
From repository root:
```sh
# Web app
pnpm dev:www
pnpm build:www
# VS Code extension
pnpm dev:vscode
pnpm build:vscode
pnpm lint:vscode
pnpm lint:fix:vscode
# All workspaces
pnpm dev
pnpm build
pnpm lint
```
`pnpm build:www` is the production build command used in GitHub Actions deployment.
### Debug VS Code Extension
1. Open repository root in VS Code.
2. Press `F5`.
3. Select `Run VSCode Extension (apps/vscode)` when prompted.
4. In the Extension Development Host window, open a `.json` file and run:
`JSON Crack: Enable JSON Crack visualization`.
### Docker
🐳 Docker assets are in `apps/www`.
If you want to run JSON Crack locally:
```console
cd apps/www
# Build a Docker image with:
docker compose build
# Run locally with `docker-compose`
docker compose up
# Go to http://localhost:8888
```
## Configuration
The supported node limit can be changed by editing `NEXT_PUBLIC_NODE_LIMIT` in `apps/www/.env`.
## License
See [`LICENSE`](/LICENSE.md) for more information.