Text & Data

HTML Entities Converter

Encode and decode HTML entities

About

This tool allows you to encode special characters to HTML entities and decode HTML entities back to their original characters. HTML entities are used to display reserved characters in HTML without being interpreted as HTML code. Perfect for web developers working with HTML content. ### How to Use 1. Enter or paste your data in the input field. 2. Adjust any available settings or options. 3. Click the action button to process. 4. Copy or download the result.

Try It Now

How to Use

This HTML Entities Converter allows you to encode plain text to HTML entities and decode HTML entities back to plain text. HTML entities are used to display reserved characters in HTML documents.

Conversion Type

Input Text

Output Text

Common HTML Entities

Character

  • &
  • <
  • >
  • "
  • '
  • ¢
  • £
  • ¥

Entity

  • &amp;
  • &lt;
  • &gt;
  • &quot;
  • &#39;
  • &cent;
  • &pound;
  • &yen;

Examples

Input

<p>Hello & World</p>
Encode HTML Entities

Output

&lt;p&gt;Hello &amp; World&lt;/p&gt;

HTML encoding

Input

&lt;p&gt;Hello &amp; World&lt;/p&gt;
Decode HTML Entities

Output

<p>Hello & World</p>

HTML decoding

FAQ

What are HTML entities?

HTML entities are special codes used to represent reserved characters in HTML, such as &lt; for <, &gt; for >, and &amp; for &.

When should I use HTML entities?

Use HTML entities when you want to display reserved characters as literal characters in your HTML content.

Is this tool free?

Yes, this tool is completely free to use.

Is my data secure?

Yes, all processing is done in your browser. Your data is not sent to any server.

Does it work offline?

Yes, once the page is loaded, you can use the tool offline.

Related Tools