HTML エンティティのエンコード
HTML エンティティをエンコード
ブラウザで動作 · アップロード不要
このツールとページ内の説明は、現在は英語のみです。動作は同じで、すべてブラウザ内で実行されます。
お使いのブラウザはこのツールを動かすには古すぎます。更新するか、最新の Chrome、Edge、Firefox、Safari をお使いください。
- 何も端末から出ません
- サーバーによるサイズ制限なし
- 登録不要・透かしなし
- 無料
How to encode HTML entities
- Paste your text or code.
- Choose whether to escape quotes and how to write non-ASCII characters.
- Copy the encoded result.
Which characters?
- Always: & < > (and " ' for attribute values).
- Characters such as é, © or emoji only need encoding if the page isn't UTF-8. Choose named (é), decimal (é) or hexadecimal (é) entities.
よくある質問
Is this enough to prevent XSS?
Escaping is the right step for text placed inside HTML elements and quoted attributes. Inside JavaScript, URLs or CSS, other rules apply; use your framework's escaping for those.
Is my text uploaded?
No. Everything happens in your browser, and the page is blocked from uploading anything.