buncha/code & dev/json-fmt

JSON Formatter

Pairs well with

Base64 Encoder / Decoder
UTF-8-safe Base64 encode and decode. Handles emoji…
Binary Converter
Convert text to binary and binary to text.
CSS Background Pattern Generator
Build tileable backgrounds with pure CSS gradients…
CSS Checkbox & Switch Generator
Pure-CSS checkbox and toggle-switch styles that ov…

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
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.