轉換工具

HTML Escape / Unescape

Escape and unescape HTML entities.

浏览器内处理即时输出本地数据

為什麼用這個工具

03

Convert text to safe HTML entities and decode entities back to text.

HTML Escape / Unescape helps prepare content for markup contexts.

Convert in both directions instantly.

怎麼使用

02
01Paste text or entities.
02Copy escaped or unescaped output.

複製前快速檢查

03

先确认输入格式符合你的预期。

在把结果用于文档、链接、配置或消息前快速扫一眼。

只复制你真正需要的输出。

常見問題

03
Does it run locally?

Yes. Conversion is done in the browser.

Which HTML entities are covered?

The standard set: & (ampersand), < (less-than), > (greater-than), " (double quote), and ' (apostrophe).

Is this safe for preventing XSS?

Yes. Escaping user input with this tool prevents HTML injection in content rendered inside a browser.

相關工具

03