Mã hóa URL "password=secret&user=admin"
Original
password=secret&user=admin
Đã mã hóa URL
password%3Dsecret%26user%3Dadmin
"password=secret&user=admin" sau khi mã hóa URL là: password%3Dsecret%26user%3Dadmin
Ký tự URL phổ biến
| Character | Encoded | Name |
|---|---|---|
| %20 | dấu cách | |
| / | %2F | gạch chéo |
| ? | %3F | dấu hỏi |
| = | %3D | dấu bằng |
| & | %26 | ký hiệu & |
| @ | %40 | ký hiệu @ |
| # | %23 | hash |
| + | %2B | dấu cộng |
| % | %25 | dấu phần trăm |
Cách mã hóa URL hoạt động
Mã hóa URL (percent-encoding) thay thế các ký tự không an toàn bằng % và hai chữ số hex. "password=secret&user=admin" trở thành "password%3Dsecret%26user%3Dadmin".
Thử công cụ mã hóa URL
Loading tool...