HTML Entities Converter - Encode & Decode HTML Entities | SpeedTool.net
🏷️

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 &lt;script&gt;.

📝 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 &quot; for quotes in attribute values and &amp; 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.