URL encoding is a format for packaging network data.
In the data program (browser, curl, etc.) to the back-end server, not all a-z
, A-Z
, 0-9
, -
, .
, _
or 〜
input character will be converted to its corresponding "URL escaping" version (% NN, where NN is the two Hexadecimal number). You can refer to the detailed table here .
Example:
Original link: After
http://192.168.1.128:8080/test?ni+wo=family
URL encoding:
http%3A%2F%2F192.168.1.128:8080%2Ftest%3Fni%2Bwo%3Dfamily
Related tools
- Online URL encoding/decoding
- Python URL encoding/decoding
- C/C++ URL encoding/decoding
- URL encoding and decoding in Golang
Golang URL encoding has different methods for different types. For details, please refer to Package url