cv.cm
全部工具

HTML 跳脫

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

輸入

輸出

使用步驟

Encode or decode HTML entities in this tab. The text never leaves the browser.

  1. Open HTML encode

    A sample tag is already encoded. Encode and Decode sit in the left menu.

  2. Paste your text

    Encode turns <>&"' into entities. Decode reverses named codes and &#…; numbers.

  3. Copy the result

    Copy when it looks right. Closing the tab discards both sides.

常見問題

能在這裡跳脫 HTML 嗎?

可以。貼上文字。跳脫會把 <>&"' 轉成實體。還原會把具名和數字代碼轉回原字元。

文字會上傳嗎?

不會。轉換留在目前分頁。

哪些實體有名稱?

amp、lt、gt、quot、apos 和 nbsp。其他名稱維持原樣。數字 &#…; 代碼會解碼。

會執行腳本嗎?

不會。這裡只改寫字元,不執行 HTML。

能複製結果嗎?

可以。複製會把轉換後的文字放進剪貼簿。