Enter your URL:

Your encoded URL:
API:

To encode url:
var url = "http://href.su/get";
var options = { op: 'encode', url: 'myUrl' };
$.get(url, options, function (data) {
var d = $.parseJSON(data);
var yourEncodedURL = d.Data;
});



To decode url:
var url = "http://href.su/get";
var options = { op: 'decode', url: encodedUrlParam };
$.get(url, options, function (data) {
var d = $.parseJSON(data);
var yourDecodedURL = d.Data;
});