HTML Entity Encoder/Decoder
Encode and decode HTML entities. Convert special characters to HTML entities.
How to Use HTML Entity Encoder/Decoder
- Select Encode or Decode mode
- Enter your text or HTML entities
- Click the convert button
- Copy the result
Common HTML Entities
& → &< → <> → >" → " → (space)© → ©Why Encode HTML?
- Prevent code from being executed as HTML
- Display special characters correctly in browsers
- Protect against XSS (Cross-Site Scripting) attacks
- Safely include user input in web pages
Features
- Encode all special HTML characters
- Decode named and numeric entities
- Quick mode switching
- One-click copy
- Works entirely in your browser - no data is sent to any server