ホーム
Tom Utilities

HTML エスケープ / アンエスケープ

HTML・CSS・JavaScript

安全な HTML 出力用にテキストをエスケープ、または HTML エンティティを読める文字にデコードします。

入力

結果

使い方

Escaping HTML entities

Press Encode to escape angle brackets and ampersands, or Decode to turn entities back into characters.

  1. Paste text or markup.
  2. Press Encode or Decode.
  3. Copy the converted result.

よくある質問

Can escaping protect against XSS?

Escaping is one layer of defence. Always escape output on the server as well.

Are numeric entities supported?

Yes, decode understands named, decimal and hexadecimal entities.