Convert special characters to HTML entities and vice versa for your web projects
Character | Entity Name | Numeric Entity | Hex Entity | Description |
---|---|---|---|---|
< | < | < | < | Less than |
> | > | > | > | Greater than |
& | & | & | & | Ampersand |
" | " | " | " | Double quote |
' | ' | ' | ' | Apostrophe |
© | © | © | © | Copyright |
® | ® | ® | ® | Registered trademark |
™ | ™ | ™ | ™ | Trademark |
€ | € | € | € | Euro |
£ | £ | £ | £ | Pound |
Converts special characters to HTML entities, ensuring your content displays correctly in browsers. For example, "<" becomes "<" which displays as "<" in HTML.
Transforms HTML entities back into their original characters. Useful for editing encoded content or converting code snippets for display.
Encoding user input helps prevent cross-site scripting (XSS) attacks by ensuring that code isn't executed when displayed on your website.
Using HTML entities ensures your markup passes validation checks by properly handling special characters in your content.