Skip to content
TinyTools
Developer

HTML Encoder / Decoder

Escape special characters as HTML entities or decode them back.

What are HTML entities?

Characters like < > & and quotes have special meaning in HTML. To show them as text, they must be written as entities such as &lt; and &amp;.

Encoding also protects against broken markup and cross-site scripting when you output user text. The decoder turns named and numeric entities back into characters.

How to use the HTML Encoder / Decoder

  1. 1Choose Encode or Decode.
  2. 2Paste your text.
  3. 3Copy the result.

Frequently asked questions

Which characters are encoded?

& < > " and ', plus every non-ASCII character if you enable that option.

Is my text uploaded?

No. It is processed in your browser.

More Developer tools