← All tools

DEVELOPER TOOL

HTML Entity Encoder / Decoder

Encode HTML-sensitive characters or decode named and numeric HTML entities.

Your encoded or decoded result will appear here.

Encoding protects the five HTML-sensitive characters: ampersand, less-than, greater-than, double quote, and apostrophe. Decoding supports common named entities and decimal or hexadecimal numeric entities. Processing stays in your browser.

This tool focuses on a practical named-entity set and HTML-sensitive characters. It is not a complete HTML5 named-character-reference parser.

Text is converted locally in your browser and is not uploaded.

How to use HTML Entity Encoder / Decoder

  1. Paste HTML text or entities into the input panel.
  2. Select Encode or Decode.
  3. Copy the result or clear the fields to start again.

Which characters does encoding protect?

Encoding converts ampersands, less-than signs, greater-than signs, double quotes, and apostrophes into HTML entities.

Which entities does decoding support?

Decoding supports common named entities and decimal or hexadecimal numeric entities, such as A or A

Is my text uploaded?

No. Encoding and decoding happen locally in your browser.