すべてのツールカテゴリ概要お問い合わせプライバシー
開発者ツール

HTML Entity Encoder & Decoder

Escaping makes text safe to place in HTML: angle brackets and ampersands become entities instead of being read as markup. Decoding does the reverse, turning named and numeric entities back into the characters they represent.

更新日 · 無料 · 登録不要 · 端末内で動作

ツールを読み込み中…

使い方

  1. Paste text and press Encode to escape it for HTML.
  2. Or paste HTML containing entities and press Decode.
  3. Copy the result into your page or template.

対象となるユーザー

Developers escaping user input, writers fixing a stray & in a CMS, and anyone who needs a special character as an entity.

使用例

5 < 10 becomes 5 &lt; 10, which displays correctly in HTML instead of being parsed as a tag.

制限事項

Decoding understands the common named entities and all numeric entities. Less common named entities are left unchanged rather than guessed.

プライバシー

What you type or paste is processed in memory in this tab. It is not sent to a server, and nothing is saved after you close the page unless the tool says otherwise.

よくある質問

Does encoding make text safe from XSS?

It makes text safe in an HTML text context. Attribute, JavaScript and URL contexts need their own escaping rules.

基本情報

カテゴリ
開発者ツール
対応環境
スマートフォン、タブレット、デスクトップ
アカウント
不要
価格
無料
データ
端末内に保存
更新日