HTML Entity Encoder
Convert special characters to HTML entities.
0 characters
0 characters
User types: <script>alert('hacked')</script>
You display it without encoding: congrats, you have an XSS vulnerability.
Essential Encodings
| Char | Entity | Why |
|---|---|---|
| < | < | Opens tags |
| > | > | Closes tags |
| & | & | Starts entities |
| " | " | Breaks attributes |
Related Tools
URL Encoder
Encode text for safe use in URLs and query strings.
Technical ToolsURL Decoder
Decode URL-encoded text back to readable format.
Technical ToolsHTML Entity Decoder
Convert HTML entities back to regular characters.
Technical ToolsBase64 Encoder
Encode text to Base64 format.
Technical ToolsBase64 Decoder
Decode Base64 encoded text back to original format.
Technical ToolsMD5 Hash Generator
Generate MD5 hash checksums from text.
Technical Tools