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 via the footer link or your browser settings. Privacy policy

Skip to content
>_devvkit

HTML Entities Encoder

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

Result
Common Entities Cheat Sheet
//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
  • -Cheat sheet of 38 common character entities
  • -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 cheat sheet covers the 38 most common HTML character references.
>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.