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。

能复制结果吗?

能。复制会把转换后的文本放到剪贴板。