A simple, free online JSON formatter built with React + Vite. Format, validate, and minify JSON in your browser — no data sent to any server.
🔗 Live Demo: json-formatter.vercel.app
- ✅ Format JSON — Pretty-print with proper indentation
- ✅ Minify JSON — Compress JSON to a single line
- ✅ Validate JSON — Catch syntax errors instantly
- ✅ Copy to Clipboard — One-click copy of formatted output
- ✅ 100% Client-side — No data leaves your browser
- Framework: React 19 + Vite
- Language: TypeScript
- Hosting: Vercel (Free)
# Clone the repo
git clone https://github.com/AnantStrange/json-formatter.git
cd json-formatter
# Install dependencies
bun install
# or npm install
# Run dev server
bun run dev
# or npm run dev
# Build for production
bun run build
# or npm run buildThis project was built as part of the Digital Heroes trial task.
Author : Anant Kumar Dhankhar
GitHub: github.com/AnantStrange
Email: anantkumardhankhar@gmail.com
MIT