🔤 URL Encoded Length Estimator

Estimate the RFC 3986 encoded length of a URL containing CJK, spaces or symbols (only alphanumerics and -_.~ are safe).

📐 计算公式与说明

URL 编码将每个非安全字符转为 %XX(3 字符)
编码长度 = 安全字符数 + 3 × 需编码字符数

仅字母、数字及 -_.~ 为安全字符;其余均需编码。