JSON Formatter
Validate, format and minify your JSON.
Generate random UUIDs, convert HEX/RGB/HSL colors, format JSON, encode and decode Base64 text, or escape URL components locally. See clear syntax errors and copy the result without sending your data to an external formatting service.
5 tools ready to use
Validate, format and minify your JSON.
Encode or decode Unicode text as Base64.
Escape and decode URL components.
Create unique identifiers for your projects.
Convert between HEX, RGB and HSL.
JSON requires double-quoted keys and strings and does not allow comments or trailing commas. Formatting changes presentation, while parsing follows JavaScript semantics. Very large integers can lose precision; keep precision-sensitive identifiers as strings or use a specialized parser. Base64 is reversible UTF-8 text encoding, not encryption. URL encoding escapes a single component; it should not be applied to an entire URL.
Yes. Invalid input produces a visible error. Valid input can be formatted or minified.
No. Parsing and formatting happen locally in your browser.
Syntax-valid JSON can still have the wrong schema. JavaScript parsing can lose large-number precision and retains later duplicate keys. Keep the original payload and check the data contract, not just the neatness of formatted output.
Base64 represents bytes as text; percent encoding protects a URL component. Neither encrypts a secret. Avoid encoding an entire URL or repeatedly decoding until a string looks familiar. Match the layers defined by the protocol.
Random UUIDs are identifiers, not authorization. Color notations can round, particularly alpha values, and the preview is not a contrast certification. Review the format expected by the receiving code or design workflow.