HTML Entity Encoder & Decoder

Convert special characters to HTML entities for safe web content, or decode entities back to readable text.

code Encode code_off Decode

edit Text to Encode

0 characters
sync_alt Encode delete Clear

output Encoded Result

0 characters
content_copy

Common HTML Entities

  • && (ampersand)
  • <&lt; (less than)
  • >&gt; (greater than)
  • "&quot; (double quote)
  • '&#39; (single quote/apostrophe)
  •  &nbsp; (non-breaking space)