buncha/code & dev/json-fmt

JSON Formatter

Read the guide
A JSON Formatter That Doesn't See Your Data

Pairs well with

JSON to CSV
Convert between JSON and CSV formats.
Base64 Encoder / Decoder
UTF-8-safe Base64 encode and decode. Handles emoji
URL Encoder
Encode and decode URLs and special characters.
HTML to Text
Strip tags from HTML, decode entities, keep the wo

About JSON Formatter

Format, validate, and beautify JSON instantly. Paste messy JSON and get clean, indented output with syntax highlighting. Validates structure and points to errors with line/column.

JSON Formatter is the most-used dev tool on the internet — every API response, every config file, every log payload comes through it. The version that ranks #1 on Google has had ads, popups, and tracking for over a decade; this one runs entirely in your browser, doesn't log your input, and doesn't have ads.

JSON5 (with comments and trailing commas) is supported on a best-effort basis — strict JSON.parse first, then a fallback parser. The error messages give line/column for both passes so you can fix the actual issue.

How to use it

  1. Paste your JSON into the input — pretty or minified, both work.
  2. Click Format to indent (2-space default) or Minify to strip whitespace.
  3. Validation runs automatically — invalid JSON shows the error with line and column.
  4. Use the depth slider to fold long arrays/objects.

Common questions

Does it support JSON5 or JSONC?
Yes — comments (// and /* */) and trailing commas are tolerated on parse, and stripped on output (since JSON proper doesn't allow them).
Is my JSON sent anywhere?
No. Parsing and formatting happen entirely in your browser. Refresh the page and the input is gone.
How do I share formatted JSON?
Click Copy to put the formatted version on your clipboard — paste anywhere.
Everything happens on your device. Close the tab and it's gone.
b
Built browser-first. Run by one developer.
Every tool runs on your device. No tracking pixels, no sign-up to start. The numbers below are pulled live from the registry.
386
Free tools
Across 14 categories
7
Visual editors
PDF · image · video · audio
34
Curated kits
By profession + lifestyle
27
AI tools
Powered by Claude API
Files never uploadNo tracking pixelsNo sign-up neededWorks in any modern browser
The handful of AI tools (paraphrase, summarise, blog, captions, etc.) send your prompt text to Anthropic's Claude API to do the work. Files, images, PDFs and video never leave your device. Pick the tools that fit your privacy comfort.