<?php // Decode the Encoded URL $input = "http%3A%2F%2Fway2tutorial.com%2F"; $input = urldecode($input); // Output http://way2tutorial.com/ echo $input; ?>