ホーム/開発者ツール/HTMLエンティティ エンコーダー
クライアントサイド開発者ツール

開発者のための必須ツール集

JSON整形、URLエンコード、Base64変換、HTMLエンティティ、UUID生成をブラウザ上で高速かつ安全に処理。

ツールを選択

HTMLエンティティ エンコーダー

予約文字を安全なHTML特殊文字実体参照に変換

100% ブラウザ内処理
インデント:
ブラウザ内処理保証: 入力データやファイルはすべてお使いのブラウザ内で処理され、サーバーに保存・送信されることは一切ありません。
Ctrl+Enterで実行

OVERVIEW

HTML Entity Escaping & Unescaping

HTML Entity Encoding

Converts reserved characters (<, >, &, ", ') into entities (&lt;, &gt;, &amp;) so they can be safely displayed in blogs, documentation, and web pages.

HTML Entity Decoding

Transforms entity-encoded strings and numeric character references back into their literal text and HTML elements for easy editing and reading.

FAQ

HTML Entity Questions

Why do HTML entities need to be escaped?

Characters such as <, >, &, ", and ' have special syntactic meaning in HTML. If you display code snippets, user inputs, or database text containing these characters, escaping them to entities like &lt; and &gt; prevents unintended tag rendering and XSS vulnerabilities.

Does this tool decode numeric entities?

Yes. Both named entities (such as &amp;, &quot;, &lt;) and numeric entities (such as &#38;, &#60;, &#x3C;) are accurately decoded back to their literal character equivalents.

Is it safe to paste private code or text?

Yes, 100%. The conversion runs locally in your browser without communicating with any external API or backend service.