Converters

HTML Entity Encoder/Decoder

Encode special characters as HTML entities or decode entities back to characters. Named, decimal, and hex formats.

About This Tool

The HTML Entity Encoder/Decoder converts special characters to their HTML entity equivalents and vice versa. Supports named entities (&), decimal (&), and hexadecimal (&) formats.

How to Use

  1. Enter text containing special characters or HTML entities
  2. Click Encode to convert special characters to entities
  3. Click Decode to convert entities back to characters
  4. Use “Encode All Characters” to encode every character
  5. Choose your preferred entity format (named, decimal, hex)

FAQ

When should I use HTML entities?

Use HTML entities when you need to display characters that have special meaning in HTML (like <, >, &) or when working with characters outside the ASCII range.