JSON Formatter
Format, minify and validate JSON without changing large integers, number notation, key order or string escapes. Import files and locate syntax errors.
Encode URL parameters or full URIs and decode percent escapes, with explicit handling of spaces, plus signs and Unicode.
Updates as you type or change an option
Choose the right context before building a query string. A parameter value and a complete address need different treatment of separators.
Choose the context first: URL component for an individual value, full URI to retain address separators, or form value to encode spaces as plus signs. Edit either side to update the other.
Only form mode turns a plus sign into a space when decoding. Incomplete percent escapes and invalid UTF-8 bytes produce an error. Processing stays local, with a 2 MiB input limit.
Component mode uses %20; form mode uses +, and only form decoding turns + into a space. These two modes encode a literal plus as %2B. Full URI mode preserves reserved URI characters, including +.
Select component mode for one parameter value: a&b becomes a%26b. Use full URI mode for a complete address whose separators must remain intact. The tool does not visit the address.
Each % needs two hexadecimal digits, and the decoded bytes must form UTF-8. Recopy a truncated value from its source; changing modes cannot repair missing bytes.
Your choice about analytics
We use Umami to measure page visits. Analytics is optional, and your tools work either way.
Your current setting allows analytics.
Your current setting does not allow analytics.
The analytics service has changed. Refresh the page after finishing your current work to apply the new settings.
Your browser is sending a Do Not Track or Global Privacy Control signal. Analytics will remain off.
We use Umami to understand which pages people visit and how they find this site. You can decline or change your choice at any time. All site features will still work.
Your choice is saved in this browser for six months. Analytics does not upload files or content you enter in our tools.
Privacy Policy
Comments
0