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
常见问题
为什么我缺少协议的 “URL” 会报错?
浏览器原生的 URL 解析器要求必须包含协议。请在前面加上 https:// 后重试。
重复的查询键是怎么处理的?
每一次出现都会单独生成一行 —— 这对于像 ?tag=a&tag=b 这样的筛选场景很有用。
想生成带标签的活动 URL?
可以使用我们的 UTM Builder。
只想对单个字符串进行百分号编码或解码?
可以使用我们的 URL Encoder & Decoder,无需完整的 URL 结构即可快速编码 / 解码。