We use cookies to understand how the site is used and to display ads. Analytics and advertising only run after you accept. You can change your choice anytime. Privacy policy

Skip to content
devvkit

devvkit / dev

HTML Entities Encoder/Decoder

Encode and decode HTML entities with a character reference cheat sheet.

Text to encode
Result
Common Entities Cheat Sheet
Entity Reference (reverse lookup)235 of 235

share this tool

Encode and decode HTML entities with support for named, decimal, and hex references. Browse a cheat sheet of the most common character entities and copy them with one click.

>[x]Features
  • -Encode with named, decimal, or hex references
  • -Decode any mix of entity formats
  • -Reference table of 120+ entities with reverse lookup
  • -Search by name, character, or entity code
  • -Click-to-copy on every entity card
  • -Handles <, >, &, quotes, and non-ASCII characters
  • -Runs entirely in the browser
>>Use Cases
  • >Escaping user-generated content before rendering
  • >Writing HTML in blog posts and CMS content
  • >Displaying reserved characters in code samples
  • >Debugging garbled characters in rendered pages

Frequently Asked Questions

>Which entities are supported??
The encoder supports named entities, decimal numeric references (&#38;), and hex references (&#x26;). The reference table covers 120+ HTML character references with a reverse lookup: search by name, character, or entity code.
>When should I encode characters??
Encode user-generated content before inserting it into HTML to prevent broken markup and injection issues. <, >, &, ", and ' are the most important to escape.
>How does the reverse lookup work??
Type a name (e.g. "arrow"), a character ( -> ), or an entity code (&rarr;) into the search box and matching entries appear instantly: click one to copy the entity.