# HTML Entities Reference

> Complete list of HTML entities with an encode/decode reference tool. Find character codes for symbols, arrows, currency signs, and special characters.

Canonical: https://toolshub.tech/developer-tools/html-entities-reference

## How to Use

1. Browse the entity reference table to find the character you need
2. Use the search box to filter by character name or description
3. Filter by category (Common, Math, Symbols, etc.) using the buttons
4. Click any entity code to copy it to your clipboard
5. Use the Encode/Decode tab to convert text to/from HTML entities

## Common Use Cases

- Use entities to safely display special characters like \< \> & in HTML content without breaking markup.
- Encode special characters in HTML emails to ensure they render correctly across all email clients.
- Use math entities (×, ÷, ±, ∞) to display mathematical notation without Unicode issues.
- Use Greek letters and special symbols for scientific, mathematical, or multilingual content.

## What is HTML Entities Reference?

HTML entities are special codes that represent characters with special meaning in HTML or characters that are difficult to type. Characters like \< and \> have special meaning in HTML, so you need entity codes to display them as text. Our complete HTML Entities Reference helps you find the right entity code instantly, with a built-in encoder/decoder tool.

## How HTML Entities Reference Works

Browse the reference table to find the character you need, then click any entity code to copy it. The encoder/decoder tab lets you convert text to HTML entities or decode entities back to readable text. Entities can be referenced by name (&copy;), decimal (&#169;), or hexadecimal (&#xA9;) — all produce the same result.

## Why Use HTML Entities Reference?

Using HTML entities ensures your content displays correctly across all browsers and devices. They prevent HTML parsing errors, protect against XSS vulnerabilities when displaying user input, and allow you to include special characters like math symbols, currency signs, and Greek letters without encoding issues.

## Tips & Best Practices

- Always escape \<, \>, &, and " when displaying user-provided content to prevent XSS attacks
- Named entities like &copy; are more readable; numeric entities work for any Unicode character
- Modern UTF-8 HTML5 documents can display most Unicode characters directly without entities
- Use the encoder tool to quickly escape entire blocks of HTML content

## Frequently Asked Questions

### What are HTML entities?

HTML entities are special codes used to display reserved or special characters in HTML. Since characters like \< and \> have special meaning in HTML, you need entity codes to display them as text.

### What's the difference between named and numeric entities?

Named entities like &copy; are easier to read and remember. Numeric entities like &#169; or &#xA9; are more universally supported. Both produce the same result.

### Should I use decimal or hexadecimal codes?

Both work identically in all browsers. Decimal codes are more common, but hexadecimal codes match Unicode code points, which can be useful for reference.

### Do I need entities for Unicode characters?

Modern HTML5 with UTF-8 encoding can display most Unicode characters directly without entities. However, entities are still required for reserved HTML characters like \<, \>, and &.

## Related

- [Developer Tools](https://toolshub.tech/developer-tools)
- [HTML Formatter](https://toolshub.tech/developer-tools/html-formatter)
- [HTML Minifier](https://toolshub.tech/developer-tools/html-minifier)
- [Meta Tag Generator](https://toolshub.tech/developer-tools/meta-tag-generator)
- [JSON Formatter](https://toolshub.tech/developer-tools/json-formatter)
