HTML Entity Encoder & Decoder – Convert Special Characters

Free HTML entity converter. Encode special characters like < > & into HTML entities or decode entities back into text for safe web content.

0 of 0 ratings

HTML entity converter – Free Online Tool

Our free HTML Entity Converter encodes special characters into HTML entities and decodes entities back into normal text. It keeps code examples and special symbols displaying correctly on web pages.

What is HTML entity converter?

Some characters have special meaning in HTML. For example, < starts a tag and & starts an entity. To show them as normal text, they must be written as entities such as &lt;, &gt; and &amp;.

Encoding also protects websites from broken layouts and some cross-site scripting issues when displaying user content.

How to use the HTML entity converter

  1. Paste your text or HTML.
  2. Choose encode or decode.
  3. Click convert.
  4. Copy the result.

Common use cases

  • Displaying code snippets in blog posts
  • Showing special symbols such as ©, ™ and €
  • Decoding entities in exported content or feeds
  • Cleaning text copied from HTML sources

Frequently asked questions

What is an HTML entity?

A code that represents a character, such as &copy; for ©.

When should I encode HTML?

Whenever you want characters like < and > to appear as text instead of being read as code.

Is this the same as URL encoding?

No. URL encoding uses % codes for links; HTML entities are for page content.

Related free tools

Most Popular Online Tools