🏷️
HTML Entities
Encode and decode HTML entities
htmlentitiesencodedecode
Convert between text and HTML entities
Characters: 42
HTML Encoded
Special characters converted to HTML entities
Valid
HTML Decoded
HTML entities converted back to special characters
Valid
Common HTML Entities
Examples of frequently used HTML entities
Basic HTML
Original:
<p>Hello & welcome to "our" website</p>
Encoded:
<p>Hello & welcome to "our" website</p>
Special Characters
Original:
Copyright © 2024, Price: €100
Encoded:
Copyright © 2024, Price: €100
Quotes & Apostrophes
Original:
"Hello", he said, 'It's working!'
Encoded:
"Hello", he said, 'It's working!'
About HTML Entities
Learn about HTML entities and their usage
Common Entities
- < = < (less than)
- > = > (greater than)
- & = & (ampersand)
- " = " (quotation mark)
- © = © (copyright)
Use Cases
- Display HTML tags as text
- Prevent XSS attacks
- Email content encoding
- XML/XHTML compliance
Note: Always encode user input when displaying HTML to prevent security vulnerabilities.