Javascript Reference Guide

This guide contains useful Javascript tips.

Encoding url.

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: d'Art&age=30

Encoded URL:



Encoded URL: