URL encoding replaces unsafe ASCII characters with a "%" followed by two hexadecimal digits. Standard alphanumeric characters are left intact.
Yes. Your browser executes the encoding/decoding logic locally via the standard encodeURIComponent API. No strings or data are sent pointing back to external servers.
Because URLs can only be sent over the Internet using the ASCII character-set. Furthermore, special characters denote protocol features like queries (?) or fragments (#). URL-encoding prevents strings containing these symbols from breaking the URL structure.
encodeURI is designed to encode a full URL while keeping structure like "/" and ":" intact. encodeURIComponent is for query parameters where even these separators must be escaped.
Yes, spaces are correctly converted to %20. We use standard browser APIs to ensure maximum compatibility.