Chuyển tới nội dung chính
Z

What is URL encoding?

URL encoding, or percent-encoding, replaces characters that are unsafe or reserved in a URL with a percent sign followed by two hexadecimal digits (e.g. a space becomes %20). It lets arbitrary text — spaces, symbols, non-ASCII characters — be safely included in URLs and query strings.

URLs may only contain a limited set of characters. Anything else — spaces, &, ?, / when used as data, or accented letters — is encoded as %XX where XX is the byte's hex value (UTF-8). For example café becomes caf%C3%A9.

It is essential for building query strings and form submissions so that reserved characters in your data are not misread as URL structure.

URL encoding tools

Câu hỏi thường gặp

Vì sao "URL" của tôi thiếu scheme lại báo lỗi?

Bộ phân tích URL gốc của trình duyệt yêu cầu phải có scheme. Hãy thêm https:// vào trước và thử lại.

Các key query trùng nhau được xử lý ra sao?

Mỗi lần xuất hiện sẽ thành một hàng riêng — hữu ích cho kiểu filter như ?tag=a&tag=b.

Cần tạo URL chiến dịch có gắn tag?

Hãy dùng UTM Builder của chúng tôi.

Muốn mã hóa hoặc giải mã percent-encoding cho một chuỗi đơn lẻ?

Hãy dùng URL Encoder & Decoder của chúng tôi để mã hóa / giải mã nhanh mà không cần cấu trúc URL đầy đủ.