Enter a URL
[   Background   |   Examples   |   Firefox Add-On   |   Bookmarklet   |   Feedback   ]

Developer tools on how to parse, decode, and encode a URL:


URL Encoding & Decoding

A URL may contain some special characters considered reserved and should be encoded if such a character is used as part of the URL. For example, the character & is encoded as %26.

URL encoding is the act of encoding certain characters of the url by replacing them by their hexadecimal value which consists of 3 characters: The first character is '%', and the two other characters are the hex values.

URL decoding works in reverse to URL encoding. Here's the list of the reserved characters

!*'();:@& =+$,/?%#[]

Example of a reserved character  Encoded
& %26
: %3A
/ %2F
= %3D
+ %2B

Using Java:

Using JavaScript:

  • encodeURI: This function encodes special characters, except: , / ? : @ & = + $ #
  • decodeURI
  • urldecode: Encodes a URI component including special characters

Using Perl:

Using PHP:

Using Python:

Using Ruby:



Watch this video for a quick demo of what you can do with URL Parser:



Bookmarking and Sharing:

If you find this service interesting and worthwhile to share with others, you can use any of the following social bookmarking links:




Follow us on Twitter:




This website allows you to easily tap into the power of manipulating a URL without having to be a programmer! Even for a seasoned developer who knows how to work with a URL using various resources (For example, In PHP: parse_url, urldecode, and urlencode. In Javascipt: decodeURI. In Java: URLDecoder), this website allows one to easily parse, decode, and edit the information contained in a URL.
[ © 2009 URLParser.com | Terms and conditions | Feedback: comments@URLParser.com | Site Map ]