100% Client-Side in BrowserZero Server Data UploadsFree & No Sign-Up

How to Use

  1. Paste JSON, then pick 2/4-space, tab or minify formatting; Sort Keys orders recursively.
  2. Syntax errors show the exact line and column so you can fix the source quickly.
  3. The Base64 and URL tabs encode/decode UTF-8 text safely — CJK and emoji included.

Frequently Asked Questions

Why does btoa() fail on CJK or emoji text?

btoa()/atob() only handle byte-safe (Latin-1) input — multibyte UTF-8 like 中文 or 🎉 throws an error. This tool pipes TextEncoder → base64 and TextDecoder ←, so any Unicode survives round-trips.

How do error messages help fix broken JSON?

Parse failures are shown with the exact line and column reported by the engine (e.g. 'line 4, column 17'), so you can jump straight to the missing comma or quote.

What does recursive key sorting do?

It rebuilds the object with every object's keys alphabetically ordered at all depths — great for deterministic diffs and config normalization.

Is my JSON uploaded anywhere?

No. Formatting, validation and encoding run entirely in your browser; sensitive payloads never leave the device.