JSON Formatter

Tools

A simple, fast tool to format, minify, copy, or download JSON payloads for debugging and sharing.

Open in
jsonformatminifydownload

Installation

npx shadcn@latest add @bits-ui/json-formatter

Preview

null

Usage

Import and use the component
After installation, you can import and use the component in your project.
import { JSONFormatter } from "@/registry/new-york/blocks/json-formatter/json-formatter";

export default function Example() {
  return <JSONFormatter />;
}