&;HTML Entity
Encode/decode HTML entities
What is HTML Entity Encoding/Decoding?
HTML entities are a way to safely display characters that carry special meaning in HTML documents — such as <, >, &, and ". They are essential for preventing XSS (cross-site scripting) attacks when rendering user input on a web page, or for displaying raw HTML source code on screen.
How to Use
- Select Encode to encode, or Decode to decode.
- Paste the HTML text or entity string you want to convert into the input field.
- Click Convert to see the conversion result.
- Press the copy button to copy the result to your clipboard.