import java.net.URLDecoder;
public class MainClass {
public static void main(String[] args) throws Exception {
String url = "http://www.%20test.com/";
String decoded = URLDecoder.decode(url, "UTF-8");
System.out.println(decoded);
}
}
http://www. test.com/