URL Encoder / Decoder

URL Encoding and Decoding for Web Development

Advertisement
Text to encode 0 chars
Encoded result

Common Examples

Text Encoding
Hello World!
Hello%20World%21
URL with Query Parameters
https://example.com/search?q=search term&lang=en
https%3A%2F%2Fexample.com%2Fsearch%3Fq%3Dsearch%20term%26lang%3Den
Email Address
email@example.com
email%40example.com
Special Characters
price=$100&discount=20%
price%3D%24100%26discount%3D20%25
Advertisement

What is URL Encoding?

URL encoding (also known as percent encoding) converts characters into a format that can be transmitted over the Internet. URLs can only contain a limited set of characters from the ASCII character set.

Characters outside this set must be encoded using a percent sign (%) followed by two hexadecimal digits representing the character's ASCII code.

Commonly Encoded Characters

Character Encoding Description
(space) %20 or + Space character
! %21 Exclamation mark
# %23 Hash/pound sign
$ %24 Dollar sign
& %26 Ampersand
= %3D Equals sign
@ %40 At sign