Characters: 0 | Bytes: 0
Characters: 0 | Bytes: 0

Common HTML Entities Reference

View Common Entity Reference Table

Character HTML Entity Description
&&Ampersand
<&lt;Less than
>&gt;Greater than
"&quot;Double quote
'&#39;Single quote
Space&nbsp;Non-breaking space
©&copy;Copyright
®&reg;Registered trademark
&trade;Trademark
&euro;Euro sign

Key Features

⚡ Fast Processing

All operations run locally in your browser for instant results.

🔒 Privacy Protected

Your data never leaves your browser. No server storage.

How to Use HTML Entity Encoder/Decoder

1

Paste Your Input

Enter or paste your HTML or text into the input area.

2

Choose an Action

Select "Encode" or "Decode" as needed.

3

Get Result

View the result in the output area and copy or download as needed.

Frequently Asked Questions

Basics

What are HTML entities?

HTML entities are codes that start with an ampersand (&) and end with a semicolon (;), used to display reserved or hard-to-type characters in HTML documents. For example, the entity for < is &lt;, and the entity for > is &gt;. Browsers render these entities as their corresponding characters without interpreting them as HTML tags.

Why encode HTML entities?

There are two main reasons: First, to prevent XSS (Cross-Site Scripting) attacks - if user input contains <script> tags, encoding converts them to plain text that won't execute. Second, to ensure special characters display correctly across different encodings and browsers, preventing layout issues.

Which characters are encoded?

This tool encodes the following characters: & (&amp;), < (&lt;), > (&gt;), " (&quot;), ' (&#39;), © (&copy;), ® (&reg;), ™ (&trade;), € (&euro;), and all non-ASCII characters such as Chinese, Japanese, and special symbols.

Features

Which characters are encoded?

The tool encodes &, <, >, ", and ' to their corresponding HTML entities (&amp;, &lt;, &gt;, &quot;, &#39;).

Related Tools

URL Encoder/Decoder

Encode and decode URLs with percent-encoding for safe transmission.

Base64 Encoder/Decoder

Convert data to and from Base64 format for binary-to-text encoding.

HTML Formatter

Beautify and format HTML code for better readability.

This tool runs entirely in your browser. No data is uploaded to any server.