tools

URL Encoder | Decoder Online | Developer Tools

URL Encoder and Decoder

About URL Encoder and Decoder Tool

This is a free online tool to encode and decode http URLs. You can copy/paste your desired URL in below text field and hit Encode or Decode button.

What is URL Encoding or Escape URL?

URL encoding (also called as URL escaping) is used to represent special meaning characters in a URL. e.g. forward slash has a special meaning in HTTP URL. But in case your data contains a forward slash (/) and you want to send it without confusing the HTTP server then you need to send it as %2F instead of / . Simlarly there are many other special characters that cab used as part of HTTP URL format. Below sample list can give you a idea of what this means.

URL Encoding Characters

Character URL Encoded Value
backspace %08
space %20
forward slash (/) %2f
back slash (\) %5c
@ %40
" %22

Want To Know What Is The URL Encoded Value of a Character?

That is easy. Just type the character or a full string in the text box above and hit Encode button. You should be able to see the encoded value.

What is URL Decoding?

URL decoding is the reverse process of encoding. This is used by the HTTP server to get the real data value from encoded string.

Can I Decode Everything Encoded?

Yes, everything encoded must be easily decoded as long as you know the characters used for encoding. In general any encoding/decoding (including URL encoding/decoding) is reversible both ways. Below are some key relations to rememeber about encoding and decoding.

  • There is always a one to one mapping of encoding to decoding.
  • Anything encoded can be decoded and anything decoded can be encoded.

Is Encoding Secure?

No, the purpose of encoding is not security. It is used for avoiding ambiguity. If you require security of data consider encryption after encoding.

Where Is URL Encoding and Decoding Used?

URL encoding is used for transfer of data using HTTP protocol. This is very common in any HTTP interaction using get method call.

Is URL Encoding Same As JavaScript escape() function?

Yes, URL encoding can be done in JavaScript using escape() function. This function is not deprecated since it has a misleading name. The community recomments to use encodeURI() or encodeURIComponent() instead.

This tool also uses JavaScript to do URL encoding. You can perform this encoding and decoding in any programming language.

Copyright © FromDev. All rights reserved.