Javascript Reference Guide

 
 
This guide contains useful Javascript tips.







Encoding url.



Information
It is sometimes needed to encode or decode an URL for test purposes.

When an URL is encoded, the ASCII characterset is used (20-7E hexadecimal).

Note: 00-1F and 7F are not used because they are control characters.

The following characters in the ASCII charaterset (a-z, A-Z and 0-9) are not encoded. All others characters in ASCII charaterset are encoded by their two-character hexadecimal values preceeded by a % sign.

URL:
https://www.mobilefish.com/find.jsp?naam=Jim d'Art&age=30

Encoded URL:
https%3A//www.mobilefish.com/find.jsp%3Fnaam%3DJim%20d%27Art%26age%3D30

URL:


         

Encoded URL: