HTML Entity Encode / Decode
Convert between HTML special characters and entity encodings (named, decimal, hexadecimal).
Settings
Common HTML Entities
| Char | Named Entity | Decimal | Hex | Description |
|---|---|---|---|---|
| < | < | < | < | Less-than sign |
| > | > | > | > | Greater-than sign |
| & | & | & | & | Ampersand |
| " | " | " | " | Double quotation mark |
| ' | ' | ' | ' | Single quotation mark |
| |   |   | Non-breaking space | |
| © | © | © | © | Copyright sign |
| ® | ® | ® | ® | Registered trademark sign |
| ™ | ™ | ™ | ™ | Trademark sign |
| ¥ | ¥ | ¥ | ¥ | Yen sign |
| € | € | € | € | Euro sign |
| → | → | → | → | Rightwards arrow |
Usage
What is an HTML Entity
HTML entities display reserved characters (like <, >, &) or characters that cannot be typed directly (like ©, ¥) in HTML.
Three Encoding Methods
Named entities use readable names (e.g. <); decimal entities use <; hexadecimal entities use <.
Encode and Decode
Encoding converts special characters into entities to avoid HTML parsing errors; decoding restores entities to original characters.
Related tools
More from the same category · Developer Tools
Cron ExpressionVisual Cron builder: pick minute-hour-day-month-weekday fields and preview next run times live.JSON FormatterJSON beautify, minify and validate with auto error location for missing brackets and stray commas.Timestamp ConverterConvert Unix timestamps to dates and back with second/millisecond precision and live current time.Regex TesterTest regex with live match highlighting, capture groups and substitution, toggling g/i/m/s flags.JWT ParserSplit a JWT into header, payload and signature, then base64url-decode claims and expiry without a key.JWT GeneratorIssue JWTs with custom header, claims and expiry across HS256, RS256, ES256 for auth-flow testing.