🔤 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 × 需編碼字元數

僅字母、數字及 -_.~ 為安全字元;其餘均需編碼。