JSON Formatter
Pretty-print, minify and validate JSON with clear error positions, a collapsible tree view and a local history of your last 5 documents.
Encode and decode URLs, query strings, and inspect URL components.
encodeURI is designed for complete URLs and preserves protocol delimiters like "https://", "/", "?", and "&". encodeURIComponent encodes every special character, making it safe for query parameter values so they do not break the overall URL structure.
%20 is the standard RFC 3986 percent-encoding for URIs. The plus sign (+) is used in HTML form submissions (application/x-www-form-urlencoded). BrowserUtil provides a toggle to support both formats.
No. All processing happens locally in your browser using JavaScript. No URLs, tokens, or personal data are ever uploaded.
Pretty-print, minify and validate JSON with clear error positions, a collapsible tree view and a local history of your last 5 documents.
Convert JavaScript / TypeScript object literals to clean standard JSON (and back). Supports unquoted keys, single quotes, comments, trailing commas, and formatting options.
Encode and decode Base64 text, including UTF-8 safe mode.