AlpaKit Logo AlpaKit

HTML Entity & Character Coder

Encode/decode HTML entities and copy special characters or emojis from a searchable grid panel.

Input Text
Output Result

✨ Special Symbols & Emojis (Click to copy)

🔍

How to use this tool

  1. 1 Open HTML Entity & Character Coder, then enter, paste, or choose the content you want to process.
  2. 2 Adjust the available options and output format for your task.
  3. 3 Review the instant result, then copy or download the available output.

Common use cases

Encode/decode HTML entities and copy special characters or emojis from a searchable grid panel. Use it for everyday work, development, learning, or quick verification.

Privacy and data handling

This tool runs in your browser. Before working with sensitive data, make sure you trust your browser and device environment.

HTML entity encoder and decoder: when to use <, & and &#numbers;

HTML entities represent special characters with text codes. Browsers read "<" as the start of a tag and "&" as the start of an entity, so to display those characters literally you write them as &lt; or &amp;. Basic Encode converts the five characters that matter: & → &amp;, < → &lt;, > → &gt;, " → &quot; and ' → &#39;. For example "<p>" becomes "&lt;p&gt;", which shows up as text on the page instead of opening a paragraph.

Encode All goes further and turns every non-ASCII character (accented letters, CJK text, symbols, emoji) plus those five characters into decimal numeric entities: "©" becomes "&#169;", "é" becomes "&#233;" and "😀" becomes "&#128512;". That is useful when the output has to be pure ASCII, for legacy systems, some email templates or files whose encoding you cannot trust.

Decode uses the browser’s own HTML parser, so it handles named entities (&copy;, &nbsp;) as well as decimal and hex numeric entities (&#169;, &#x00A9;). Note that if the input contains real tags such as <b>text</b>, they are parsed as HTML during decoding and only the text content remains.

The symbol library below holds about 80 handy characters grouped into stars and hearts, arrows, math and currency, and emoji. Search by English keyword (arrow, heart, check) and click any symbol to copy it, which is handy for posts, documents and UI work. All encoding and decoding happens in your browser; nothing is uploaded.

Frequently asked questions

When do I need to convert text to HTML entities?

Whenever you display code, user-generated content or any text containing <, > or & inside HTML. The browser then renders it as text instead of parsing it as markup, and escaping user input this way is one of the basic defenses against XSS.

What is the difference between Basic Encode and Encode All?

Basic Encode only converts the five characters that can break HTML: & < > " and '. Everything else stays as is. Encode All also converts every non-ASCII character to &#number; form, so the output is pure ASCII and survives encoding mix-ups.

Is &#169; the same as &copy;?

Yes, both produce ©. &copy; is a named entity, readable but only available for some characters; &#169; is a decimal numeric entity that works for any Unicode character, and &#xA9; is the hex form. Encode All outputs the decimal form, and Decode understands all three.

Do I still need entities if my page uses UTF-8?

Usually not. With a UTF-8 page, accented letters, CJK text and emoji can go straight into the HTML; only &, <, > and quotes inside attributes must be escaped. Encode All is mainly for systems that only accept ASCII or when the file encoding is uncertain.

Browse this category: Dev Tools

Suggested & Recent Tools
    ↑ ↓ Navigate ↵ Open ESC Close
    咩~
    Alpa Idle Alpa Walk 1 Alpa Walk 2 Alpa Walk 3 Alpa Walk 4 Alpa Dizzy Alpa Sleep