Encode special characters in text or URLs to safe percent-encoding.
| Input | Output |
|---|---|
| hello world | hello%20world |
| a&b=c | a%26b%3Dc |
| 咖啡 | %E5%92%96%E5%95%A1 |
URLs can only contain a limited character set; special characters must be percent-encoded to travel safely.
It is the encoded form of a space character.
Yes — non-ASCII characters are UTF-8 encoded into multiple %XX sequences.