JSON URL Decode
Decode a JSON value from a URL — percent-encoded or URL-safe Base64 — back into formatted, readable JSON.
About this result
What It Does
This tool takes a JSON value that was squeezed into a URL and turns it back into readable JSON. It detects the encoding by itself — percent-encoding (including + for spaces) or URL-safe Base64 — decodes it, checks that the result really is JSON, and formats it. If the value decodes but is not JSON, it says so instead of showing you garbage.
When to Use It
- A link in a bug report carries application state in a query parameter and you need to read it.
- An OAuth or SSO redirect has an encoded state parameter you want to inspect.
- Your analytics or ad platform logs encoded JSON in URLs.
- You need to check what a front end is putting into its shareable links.
Worked Examples
%7B%22q%22%3A%22cats%20%26%20dogs%22%2C%22page%22%3A2%7D
Percent-encoded. Decodes to {"q": "cats & dogs", "page": 2}.
eyJ1c2VyIjoiYWRhIiwicm9sZSI6ImFkbWluIn0
No percent signs and only Base64url characters, so it is decoded as Base64 — giving {"user": "ada", "role": "admin"}.
%7B%22a%22%3A1
Truncated: the closing %7D is missing. It decodes, but the result is not valid JSON, and the tool says so.
Features
How to Use
1. Paste your input into the top box. 2. Adjust the options if the page has any — the result updates as you type. 3. Read the notes under the result, then copy it.
Common Mistakes
- Editing the result by hand and breaking the escaping. If you need to change the content, change the input and run it again — a single stray backslash makes the whole value invalid.
- Assuming the browser preserved Windows line endings. A pasted CRLF becomes LF in any text box, so a byte-exact comparison with the original file can still differ.
- Trusting that two documents are equal because they look equal. Key order, whitespace and number formatting differ between serializers; compare parsed values, not text.
Frequently Asked Questions
Related Tools
Everything runs in your browser. Your JSON is never uploaded, logged or stored.