cv.cm
全部工具

URL 編碼

都在目前分頁進行。不上傳。

輸入

輸出

使用步驟

Percent-encode or decode a string in this tab. Nothing is uploaded.

  1. Open URL encode

    A sample query is already encoded on the right. Encode is selected.

  2. Paste text or a query

    Encode uses encodeURIComponent. Switch to Decode to turn % sequences back.

  3. Copy the result

    Copy puts the encoded or decoded string on the clipboard.

常見問題

能在這裡做 URL 編碼嗎?

可以。編碼使用百分比編碼(encodeURIComponent)。解碼會把 % 序列轉回文字。

會上傳嗎?

不會。編碼留在目前分頁。

加號呢?

解碼時 + 會變成空格,和查詢字串的常見做法一樣。

這是完整的 URL 解析器嗎?

不是。它只編碼或解碼你貼上的字串,不會把 URL 拆成各部分。

解碼失敗怎麼辦?

損壞的 % 序列會顯示錯誤。修正十六進位字元對後再試一次。