OneTool

HTML Entity Encoder / Decoder

Encode text to HTML entities, or decode entities back to plain text.

Direction
Encode mode

What is this tool?

HTML entities represent characters that are unsafe or awkward to write literally in markup, using either a named form (&, ©) or a numeric form (', '). This tool encodes text either by escaping just the special characters (named where available, numeric for apostrophe) or by converting every non-alphanumeric character to numeric form, and decodes named, decimal, and hex entities back to plain text.

How to use it

  1. Choose Encode or Decode.
  2. For encoding, pick named + numeric (default) or numeric-only mode.
  3. Paste your text or markup and copy the converted output.