Skip to content

AnantStrange/json-formatter

Repository files navigation

JSON Formatter

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


Features

  • 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

Tech Stack

  • Framework: React 19 + Vite
  • Language: TypeScript
  • Hosting: Vercel (Free)

Quick Start

# 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 build

Built for Digital Heroes

This project was built as part of the Digital Heroes trial task.
Author : Anant Kumar Dhankhar
GitHub: github.com/AnantStrange
Email: anantkumardhankhar@gmail.com

License

MIT

About

JSON formatter

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

No releases published

Packages

 
 
 

Contributors