KitWharfFREEFast & Private Web Apps
100% Client-SideNamed • Decimal • Hexadecimal

HTML Entity Encoder & Decoder

Convert special characters, symbols, and currency signs into named HTML5 entities, decimal codes, and hexadecimal values. Prevent XSS vulnerabilities and display symbols safely across any web browser.

Load Sample:
Format:

100% In-Browser Privacy: Character transformations and regex replacements execute completely inside your browser client memory.

Interactive Character & Entity Lookup

Click any card to copy its named entity code directly to your clipboard.

Essential HTML5 Character Entities Master Cheat Sheet

GlyphDescriptionNamed EntityDecimal CodeHex Code
&Ampersand&&&
<Less than&lt;&#60;&#x3C;
>Greater than&gt;&#62;&#x3E;
"Double Quote&quot;&#34;&#x22;
©Copyright Symbol&copy;&#169;&#xA9;

Named vs Decimal vs Hex Entities Comparison

Entity TypeSyntax ExampleHuman ReadabilityXML / XHTML Strict Compatibility
Named Entities&euro;Highest (semantic name)Requires DTD declaration in pure XML (except the 5 XML core entities)
Decimal Numeric&#8364;Moderate (based on Unicode codepoint)100% Universal across XML, HTML, and SVG
Hexadecimal Numeric&#x20AC;Matches Unicode hex (U+20AC)100% Universal across all parsers

How to Encode and Decode HTML Characters

1

Select Mode

Choose Encode to escape raw symbols, or Decode to convert entity codes back to readable characters.

2

Choose Entity Notation

Select Named for human readability (&copy;) or Decimal / Hex for strict XML/SVG compatibility.

3

Type or Paste

Insert your text or use the interactive character palette to insert common symbols with 1 click.

4

Copy Result

Copy the encoded result into your HTML, JSX, markdown, or database without fear of parsing errors or XSS.

Frequently Asked Questions