Encoded JSON URL
Decoded JSON Object

JSON URL Decode Tool Manual

If you have ever come across an encoded JSON URL, you know how frustrating it can be to decode it manually. However, with the JSON URL Decode tool, you can easily decode the URL and recover the encoded JSON object for further use. This online tool is free, easy to use, and requires no software or system dependencies.

Tool Features

  • Online and free, no system and software dependencies
  • Can clear, copy, and have sample
  • Data security, local computing

Purpose of the Tool

The JSON URL Decode tool is designed to help you decode encoded JSON URLs. Encoded JSON URLs are commonly used in web applications to transfer data between the client and the server. However, they can be difficult to read and work with, which is where this tool comes in handy.

Benefits and Advantages

The JSON URL Decode tool provides several benefits and advantages, including:

  • Easy to use: With just a few clicks, you can easily decode an encoded JSON URL and recover the JSON object.
  • Saves time: Manually decoding an encoded JSON URL can be time-consuming and frustrating. This tool saves you time and effort.
  • No dependencies: The tool is online and requires no software or system dependencies, making it accessible to anyone with an internet connection.
  • Data security: The tool performs the decoding locally, ensuring that your data is secure and not transmitted over the internet.

How to Use the JSON URL Decode Tool

The JSON URL Decode tool is easy to use and requires no technical expertise. Here's how to use it:

  1. Input the encoded JSON URL: To get started, input the encoded JSON URL into the input box provided. You can either type it in or paste it in from another source.
  2. Click the decode button: Once you have input the encoded JSON URL, click the "Decode" button. The tool will then decode the URL and display the JSON object.
  3. Copy or clear the output: You can then choose to copy the decoded JSON object to your clipboard for further use or clear the output to start over.
  4. Encode the JSON object: If you want to encode the JSON object back to an encoded JSON URL, click the "Encode" button. The tool will then encode the JSON object and display the encoded URL.

Implementation in Various Programming Languages

The JSON URL Decode tool can be used in various programming languages, including Python, C, C#, PHP, Java, JavaScript, and Node. Here are examples of how to use the tool in each of these languages:


import urllib.parse

encoded_url = "%7B%0A%20%20%22InsuranceCompanies%22%3A%20%7B%0A%20%20%20%20%22source%22%3A%20%22investopedia.com%22%0A%20%20%7D%0A%7D"

decoded_url = urllib.parse.unquote(encoded_url)



#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <ctype.h>

char* url_decode(char* str) {
    char *result = calloc(strlen(str) + 1, sizeof(char));
    char *str_ptr = str;
    char *res_ptr = result;

    while (*str_ptr != '\0') {
        if (*str_ptr == '+') {
            *res_ptr++ = ' ';
        } else if (*str_ptr == '%') {
            char hex[3];
            hex[0] = *(str_ptr + 1);
            hex[1] = *(str_ptr + 2);
            hex[2] = '\0';
            int value = strtol(hex, NULL, 16);
            *res_ptr++ = (char)value;
            str_ptr += 2;
        } else {
            *res_ptr++ = *str_ptr;

    *res_ptr = '\0';
    return result;

int main() {
    char *encoded_url = "%7B%0A%20%20%22InsuranceCompanies%22%3A%20%7B%0A%20%20%20%20%22source%22%3A%20%22investopedia.com%22%0A%20%20%7D%0A%7D";
    char *decoded_url = url_decode(encoded_url);
    printf("%s\n", decoded_url);
    return 0;


using System;
using System.Web;

class Program
    static void Main(string[] args)
        string encoded_url = "%7B%0A%20%20%22InsuranceCompanies%22%3A%20%7B%0A%20%20%20%20%22source%22%3A%20%22investopedia.com%22%0A%20%20%7D%0A%7D";
        string decoded_url = HttpUtility.UrlDecode(encoded_url);


$encoded_url = "%7B%0A%20%20%22InsuranceCompanies%22%3A%20%7B%0A%20%20%20%20%22source%22%3A%20%22investopedia.com%22%0A%20%20%7D%0A%7D";
$decoded_url = urldecode($encoded_url);
echo $decoded_url;


import java.net.URLDecoder;

class Main {
    public static void main(String[] args) {
        String encoded_url = "%7B%0A%20%20%22InsuranceCompanies%22%3A%20%7B%0A%20%20%20%20%22source%22%3A%20%22investopedia.com%22%0A%20%20%7D%0A%7D";
        String decoded_url = URLDecoder.decode(encoded_url, "UTF-8");


var encoded_url =
var decoded_url = decodeURIComponent(encoded_url);


const querystring = require("querystring");

const encoded_url =
const decoded_url = querystring.unescape(encoded_url);


The JSON URL Decode tool is a useful tool that can help you decode encoded JSON URLs and recover the JSON object for further use. It is easy to use, requires no technical expertise, and can be used in various programming languages. With this tool, you can save time and effort and work more efficiently with encoded JSON URLs.

Frequently Asked Questions (FAQ)

Meet our more Tools