HTML Entity Encoder
Encode and decode HTML entities
Common Entities
Related Tools
HTTP Status Codes
Complete list of HTTP status codes with explanations and troubleshooting
IP Address Lookup
Find geolocation and network details for any IP address
JWT Decoder
Decode and debug JSON Web Tokens (JWT) without sending them to a server
Open Port Checker
Check if specific ports are open and reachable on your server or IP
SQL Formatter
Format and beautify SQL queries for better readability
SVG Optimizer
Compress and optimize SVG files by removing unnecessary code
What are HTML Entities?
HTML entities are special codes used to represent characters
that have special meaning in HTML or cannot be easily typed. For
example, the less-than sign (<) is represented as < because browsers would otherwise interpret it as the start of an
HTML tag.
This tool converts special characters to their HTML entity equivalents (encoding) or converts entities back to readable characters (decoding).
Why Encode HTML Entities?
Prevent XSS Attacks
Encoding user input prevents malicious script injection by neutralizing HTML/JavaScript code.
Display Special Characters
Show symbols like &, <, > as text instead of being interpreted as HTML.
International Characters
Represent currency symbols, accented letters, and special characters reliably across all browsers.
Common HTML Entities
| Character | Entity | Description |
|---|---|---|
| & | & | Ampersand |
| < | < | Less than |
| > | > | Greater than |
| " | " | Quote |
FAQ
When should I encode vs decode?
Encode when storing or displaying user input in HTML. Decode when you need the original characters back from encoded text.
