URL Decode Online Tool



About URL Decode Online Tool:

This online url decode tool helps you to convert one url format String into a regular string.

URL Decode Conversion Chart:

%21 %23 %24 %26 %27 %28 %29 %2A %2B %2C %2F %3A %3B %3D %3F %40 %5B %5D
! # $ & ' ( ) * + , / : ; = ? @ [ ]

comic url decode

Why URL Encoding is important?

HTTP GET request often contains parameters. However, the potential unsafe ASCII within parameters can mess up the server. To address this problem, browser will automatically replace unsafe ASCII characters with % followed by 2 numbers. For example '&' will be replaced by '%26' and space will be replaced by '%20'.

Example: Url can contains various of parameters, sometime url contain another url as a parameter. For example:

https://www.google.com/url?sa=t&source=web&rct=j&url=https://wordpress.org

In this case, web server will be confused, so the browser encode all the parameters to:

https://www.google.com/url?sa%3Dt%26source%3Dweb%26rct%3Dj%26url%3Dhttps%3A%2F%2Fwordpress.org

Does URL Decode Online Tool log my data?

Absolutely NOT, this URL Decode doing all the formatting work on the client side, all logic are implemented by Javascript. There are 2 major advantages: 1.Your data never transmitted in the Open Internet, so you know it's secure; 2.It's much faster than doing all the work in the server side, because there is no Internet Delay.

URL Decode with Python:

import urllib.parse


def url_decode(input_str):
    output_msg = urllib.parse.unquote(input_str).strip()
    return output_msg
    

URL Decode with Java:

import java.io.UnsupportedEncodingException;
import java.net.URLDecoder;

public class URL {
    public static String url_decode(String url) throws UnsupportedEncodingException {
        return URLDecoder.decode(url, "UTF-8");
    }

    public static void main(String[] args) throws UnsupportedEncodingException {
        String result = url_decode("https%3A%2F%2Fmaps.google.com%2Fmaps%3Fll%3D37.413323%2C-122.081267%26z%3D11%26q%3DMountain+View+California+USA");
        System.out.println(result);
    }
}

-------------------
https://maps.google.com/maps?ll=37.413323,-122.081267&z=11&q=Mountain View California USA