Minimal web app to format, validate and minify JSON instantly. No signup. No API. Just paste and format.
https://json-formatter-amber.vercel.app/
- Instant formatting – pretty-print JSON with 2-space indentation
- Minify – collapse JSON into a single line
- Syntax highlighting – color-coded keys, strings, numbers, booleans, and nulls
- Live validation – real-time Valid / Invalid status as you type
- Live stats – line count and character count
- Copy output – copy formatted or minified JSON to clipboard
- Keyboard shortcut –
⌘ ↵to format instantly - Tab support – use Tab key to indent inside the editor
- Example JSON – load sample data to get started
- Clear – reset editor and output instantly
- Clean, responsive, Apple-inspired dark UI
- No authentication
- No ads
- No watermarks
- React (Vite)
- Vanilla CSS (Apple-inspired UI)
- Vercel (static deploy)
- Paste your JSON into the editor on the left
- Click Format or press
⌘ ↵to pretty-print - Click Minify to collapse into a single line
- Copy the output with one click
Everything is processed client-side. Nothing is uploaded.
All processing happens locally in your browser. No data is sent to any server.
# Clone the repo
git clone https://github.com/berkinyilmaz/json-formatter.git
# Install dependencies
cd json-formatter
npm install
# Run locally
npm run dev