What JSON URL Decode does
Decode a percent-encoded JSON value and pretty-print it.
JSON URL Decode examples
The built-in sample
Input
%7B%22name%22%3A%22Ada%20Lovelace%22%2C%22active%22%3Atrue%2C%22tags%22%3A%5B%22math%22%2C%22code%22%5D%2C%22address%22%3A%7B%22city%22%3A%22London%22%7D%7DOutput
{
"name": "Ada Lovelace",
"active": true,
"tags": [
"math",
"code"
],
"address": {
"city": "London"
}
}This is the input that the Load sample button fills in.
A value copied from a query string
Input
%7B%22q%22%3A%22a%20b%22%2C%22n%22%3A%5B1%2C2%5D%7DOutput
{
"q": "a b",
"n": [
1,
2
]
}The decoded text is parsed and indented with two spaces.
Each output was produced by running this tool on the input above it.
How it works
The input is percent-decoded as UTF-8, as in URL Decode. The decoded text is then parsed as JSON and indented, so a damaged or truncated value is reported immediately instead of being shown as if it were complete.
Details and limits
- If the decoded text is not JSON, the error says so and shows the parser's message; the decoded text is not shown. Use URL Decode to see it.
- Paste the parameter value only, without the
name=part. - Input that is not valid percent-encoded stops the tool, and the status line shows where the problem is. The URL Decode page lists the usual causes.
Questions
Is my data uploaded when I use JSON URL Decode?
No. The tool runs in your browser, so what you paste or open is processed on your own device and is not sent to a server.
What does JSON URL Decode do?
Decode a percent-encoded JSON value and pretty-print it.
How does JSON URL Decode work?
The input is percent-decoded as UTF-8, as in URL Decode. The decoded text is then parsed as JSON and indented, so a damaged or truncated value is reported immediately instead of being shown as if it were complete.
Are there any limits I should know about?
If the decoded text is not JSON, the error says so and shows the parser's message; the decoded text is not shown. Use URL Decode to see it. Paste the parameter value only, without the name= part.
Is there a size limit?
There is no fixed size limit. Everything happens on your device, so very large inputs depend on its memory and can take longer on a phone than on a computer.
Does it work on phones, and is it free?
Yes. It works in any current browser on Android phones, iPhones, tablets and computers. It is free and needs no account or sign-up.