🏷️

encoder

HTML Entity Encoder & Decoder

Encode special characters as HTML entities or decode entity strings back into readable text instantly.

html entity encoderhtml entity decoderhtml special charactershtml encode

Top ad slot placeholder

Reserved for AdSense or Adsterra placement above the main tool interface.

0 chars
0 chars

Common HTML entities

Quick reference
Character Named entity Numeric entity
&&&
<&lt;&#60;
>&gt;&#62;
"&quot;&#34;
'&apos;&#39;
©&copy;&#169;
&euro;&#8364;
&mdash;&#8212;

How to use

How to encode and decode HTML entities for safe markup handling

  1. 1 Paste plain text or HTML into the input area when you want to encode special characters as HTML entities.
  2. 2 Turn on the non-ASCII option if you also want accented letters, symbols, and other extended characters converted into numeric entities.
  3. 3 Click Encode to transform reserved characters like ampersands, angle brackets, quotes, and apostrophes into safe entity output.
  4. 4 Use Decode to reverse named or numeric entities back into readable characters when reviewing copied markup or entity-heavy content.
  5. 5 Check the reference table for common entity names and copy the output you need for templates, emails, documentation, or code samples.

HTML entities are essential whenever reserved markup characters need to appear as text instead of being interpreted as HTML. That happens in code examples, CMS fields, email templates, XML-like snippets, and user-generated content workflows where characters such as ampersands, quotes, and angle brackets need special handling. This encoder and decoder makes those transformations quick by supporting both directions on the same page, so you can safely escape content or recover readable text from entity strings in seconds.

The optional non-ASCII encoding mode is useful when a workflow prefers numeric entity output for symbols, punctuation, and international characters. Combined with the reference table, that makes the tool handy for front-end developers, content editors, QA reviewers, and anyone preparing HTML-heavy text for publishing or debugging. Because the conversion happens entirely in the browser, it is a simple and private way to test entity handling without sending content to an external service.

Bottom ad slot placeholder

Reserved for monetization below the main content and how-to section.

Related tools

Try another free utility