Share

/tools/javascript-escape-functions.php

Facebook Share Twitter Share

JavaScript Escape and Encoding functions

JavaScript Escape

Escape and Encode a string

Input String

Encoded string using JS functions
escape
encodeURI
encodeURIComponent

JavaScript Unescape

Unescape / Decode a string

Encoded String

Decoded string using JS functions
unescape
decodeURI
decodeURIComponent

The escape() function encodes a string. it makes a string portable, so it can be transmitted across any network to any computer that supports ASCII characters. The escape() function encodes special characters, with the exception of: * @ - _ + . /

The encodeURI() function is used to encode a URI. This function encodes special characters, except: , / ? : @ & = + $ # (Use encodeURIComponent() to encode these characters).

The encodeURIComponent() function encodes a URI component.This function encodes special characters. In addition, it encodes the following characters: , / ? : @ & = + $ #

Source: http://www.w3schools.com/jsref/
AKA:

js encodeuricomponent, encodeURI, unescape online, javascript encode, javascript decode, javascript html encode