Skip to main content
Utilz Utilz

HTML Entity Encoder/Decoder

Encode and decode HTML entities with character code display

Mode:

Why Use This Tool?

  • Instantly encode special characters to HTML entities for safe HTML display.
  • Decode HTML entities back to readable characters.
  • Shows Unicode code points for each character.

How to Use

  1. Select Encode or Decode mode
  2. Type or paste text into the input area
  3. The encoded/decoded output appears instantly
  4. View character codes below for reference

FAQ

What are HTML entities?

HTML entities are special codes used to display reserved characters in HTML. For example, < is encoded as &lt; and & as &amp; to prevent them from being interpreted as HTML markup.

Which characters are encoded?

Characters with code points above 127 (non-ASCII), as well as <, >, &, single quotes, and double quotes are encoded to their numeric HTML entity equivalents.

What is the difference between named and numeric entities?

Named entities like &amp; are more readable. Numeric entities like &#38; work for any Unicode character. This tool uses numeric entities for maximum compatibility.

Does this handle emoji?

Yes. Emoji and other Unicode characters are encoded to their numeric HTML entity form and can be decoded back.

Related Tools

XML Formatter

Format and beautify XML

HTML Formatter

Format and beautify HTML

CSS Formatter

Format and beautify CSS

Color Blindness Simulator

Simulate color blindness

Korean to English Address

Convert Korean addresses to English