Web browsers send request to web server based on the requested URL. Browsers gets server IP address of server from the URL and then sends a request to it along with sending of data.
URLs can only be sent over the internet using ASCII character-set. But manys time URLs contains chracter outside this ASCII set, so URL encoders encodes this characters.
URL encoder will replace character in URL outside ASCII character-set to safe UTF-8. For example space is replaced with "%20", # into %23. It is used for encoding the query string in URL
%27 in URL is single quote character '
URL encoding is also called as Percent-encoding
Using the smalldev.tools URL encoding online tool feature you can easily encode any URL
Check below for the simple example:
Input:
Hello World - How are you?
Output:
Hello+World+-+How+are+you%3F
Almost all programming languages provides URL encoding functions.
PHP URL encoding: urlencode($input_string)
Python URL encoding: urllib.urlencode(f)
Javascript URL encoding: encodeURI(uri)
Yes, this URL encoder is safe & secure. We do not save any of your data in server. Neither the data is visible to any 3rd party.
To decode URL encoded string use this smalldev.tools URL decoder online