JSON Formatter / Validator
Format, minify, and validate JSON with custom indent. Sort keys A-Z. Runs 100% in your browser — sensitive JSON never leaves your device.
Keyboard shortcuts
- Ctrl+Enter or Cmd+Enter: Format
- Ctrl+Shift+Enter: Minify
Features
- Format: pretty-print with 2/4 spaces or tab indent
- Minify: strip whitespace for production transmission
- Validate: precise error location and reason for invalid JSON
- Sort keys A-Z: alphabetize keys (deep, applies to nested objects)
- Shortcuts: Ctrl+Enter to Format, Ctrl+Shift+Enter to Minify
Who this is for
Backend devs, API integrators, anyone debugging JSON/YAML/CSV payloads or working with structured data.
FAQ
Is my sensitive data safe?
Yes. JSON/YAML/CSV you paste is NOT uploaded to any server. All processing happens locally in your browser.
Is there a size limit?
Browser RAM dependent. Files under 10MB run smoothly. Larger files may freeze the tab.
Related tools
See all tools →JWT Decoder
Decode JWT tokens — header, payload, claims with readable timestamps.
NEWUUID / Hash / Base64 / URL
Bundle: UUID v4, SHA-256/512 hash, Base64 (URL-safe), URL encode.
NEWJSONPath Tester
Test JSONPath queries against JSON samples. Pick data from API responses, debug structured output. Recursive descent + filters.
NEWNumber Base Converter
Convert between bases 2-36 + ASCII codes. BigInt support. Useful for bitwise debugging, CS101, memory dumps.