URL decode JSON

URL Decode JSON is a tool designed to decode percent-encoded URI components within JSON strings. This is useful when you receive JSON data that has encoded special characters (like %20 for spaces) and you need to revert them to their original form for easier processing or display.

Paste your input above or import a file below.
No file chosen
Supported file types: .json, .txt, .log, .csv, .tsv, .md
Total characters: 0
Options
Pretty Output
Trim Whitespace

How to Use:

  1. Paste your URL-encoded JSON string into the Input URL-encoded JSON box or import a file.
  2. In the Options panel:
    • Toggle Pretty Output to format the decoded JSON for better readability.
    • Toggle Trim Whitespace to remove unnecessary whitespace from the output.
  3. The Decoded JSON Output will update live as you modify your input.
  4. Use Copy Output to copy the decoded JSON to your clipboard.
  5. Click Export to File to download the result as a .json file.
  6. Click Clear All to reset everything.

What URL Decode JSON can do:

URL Decode JSON is perfect for cleaning up JSON data that contains URL-encoded characters. It decodes percent-encoded components, such as %20 for spaces or %40 for the @ symbol, restoring the original, human-readable values. Whether you’re working with API responses or data from web requests, this tool helps you easily handle encoded JSON data.

Example:

Before:

"{\"name\":\"Alice%20Johnson\",\"email\":\"alice%40example.com\",\"city\":\"New%20York%20City\"}"

With options enabled:

  • Pretty Output: On
  • Trim Whitespace: Off

After:

{
"name": "Alice Johnson",
"email": "[email protected]",
"city": "New York City"
}

Common Use Cases:

Use URL Decode JSON when you’re dealing with URL-encoded JSON data from APIs, web services, or external sources that encode special characters for safety. It’s ideal for cleaning up and converting the data back into a usable format for further processing or analysis.

Useful Tools & Suggestions:

Once it’s decoded, Unstringify JSON can be used to turn the raw string back into a structured format. And if you’re planning to share or debug the result, Prettify JSON helps make everything more readable.