🏷️
HTML Entities Converter
Encode and decode HTML special characters
Input
Output
👁️ Live Preview
Enter HTML to see preview...
📋 Quick Actions
🔄 Encode Mode
Common HTML Entities Reference
Basic HTML Tags
<
<
>
>
&
&
"
"
'
'
'
'
Symbols
©
©
®
®
™
™
§
§
¶
¶
•
•
Currency
€
€
£
£
¥
¥
¢
¢
$
$
¤
¤
Math Symbols
±
±
×
×
÷
÷
≠
≠
≤
≤
≥
≥
Arrows
←
←
→
→
↑
↑
↓
↓
⇐
⇐
⇒
⇒
When to Use HTML Entities
🔒 Security (XSS Prevention)
Always encode user input before displaying it in HTML to prevent Cross-Site Scripting (XSS) attacks. Convert <script> to <script>.
📝 Displaying Code
When showing HTML, CSS, or JavaScript code on a webpage, encode the tags so they display as text rather than being rendered.
📄 HTML Attributes
Use " for quotes in attribute values and & when an ampersand appears in your content.
💻 Web Development
Essential for CMS templates, forum posts, comment systems, and anywhere users can enter text that gets displayed publicly.