Url Decoder

The tool helps you to encode a url, just enter the original url and press the button, the system will encode your url quickly and easily

Enter the encoded link then decode

The Internet is a powerful tool and is constantly evolving, as more and more websites are created every day. With each new website, comes the need to encode data in order to protect it from malicious attacks. Encoded data is hard to decipher, but with the help of the URL Decoder tool, you can quickly and easily decode any URL string.

The URL Decoder tool is a simple, easy-to-use software solution that allows you to quickly and accurately decode any URL string. It can be used to decode URL strings generated by various programming languages such as Java, PHP, JavaScript, and more. It also supports popular encoding standards such as URL, HTML, and Base64.

The URL Decoder tool is available for free and can be used on both desktop and mobile devices. It is a great tool for web developers and cyber security experts who need to decode URL strings for various purposes. It is also useful for people who want to keep their online browsing activities private by encoding the URLs of websites they visit.

The URL Decoder tool is very simple to use. All you need to do is input the URL string you want to decode, and the tool will quickly generate the decoded version. The decoded version of the URL string will be displayed in a text box, and you can copy and paste it as needed.

The URL Decoder tool is an invaluable asset for anyone who needs to decode URLs quickly and accurately. It is also a great tool for web developers and cyber security experts who need to decode URL strings for various purposes. It is free to use, so there is no need to spend money on expensive decoding software.

Example code in Php

//PHP URL Decoder example
function decodeUrl($url) {
    $decoded = rawurldecode($url);
    return $decoded;
}

Example code in Nodejs

//Nodejs URL Decoder example
const decodeUrl = (url) => {
    const decoded = decodeURIComponent(url);
    return decoded;
}

Example code in Java

//Java URL Decoder example
public static String decodeUrl(String url) {
    try {
        String decoded = URLDecoder.decode(url, "UTF-8");
        return decoded;
    } catch (UnsupportedEncodingException e) {
        e.printStackTrace();
    }
    return null;
}

Example code in Golang

//Golang URL Decoder example
func decodeUrl(url string) string {
	decoded, err := url.QueryUnescape(url)
	if err != nil {
		return ""
	}
	return decoded
}

Example code in Swift

//Swift URL Decoder example
func decodeUrl(url: String) -> String {
    guard let decoded = url.removingPercentEncoding else { return "" }
    return decoded
}

Example code in C++

//C++ URL Decoder example
std::string decodeUrl(const std::string &url) {
    std::string decoded;
    for (size_t i = 0; i < url.length(); ++i) {
        if (url[i] == '%') {
            int ch = std::stoi(url.substr(i + 1, 2), nullptr, 16);
            decoded.push_back(static_cast<char>(ch));
            i += 2;
        } else {
            decoded.push_back(url[i]);
        }
    }
    return decoded;
}

Example code in Flutter

//Flutter URL Decoder example
String decodeUrl(String url) {
    var decoded = Uri.decodeFull(url);
    return decoded;
}

Example code in Python

//Python URL Decoder example
def decodeUrl(url):
    decoded = urllib.parse.unquote(url)
    return decoded