DEVELOPER TOOLS

HTML Entity Encoder and Decoder

Encode HTML special characters or decode common named and numeric entities. See the result instantly in your browser.

Free to use No sign-up Runs in your browser
TEXT TO ENCODE
ENCODED HTML

Processed instantly in your browser. Your text is not uploaded.

How to encode and decode HTML entities

Choose encode or decode, enter your text, and read or copy the result. Encoding replaces ampersands, angle brackets, quotation marks and apostrophes. Decoding supports common named entities and decimal or hexadecimal numeric references with semicolons.

Common HTML entity examples

  • & encodes as &.
  • < and > encode as &lt; and &gt;.
  • &copy; decodes as ©.
  • &#9731; decodes as ☃.

Format and validate structured data with the JSON Formatter, or convert text capitalization with the Text Case Converter, or encode UTF-8 text with the Base64 Converter.