HTML Encoder / Decoder

Convert special characters to and from HTML entities.

Advertisement

Raw text / HTML

Encoded entities

Advertisement

What is the HTML Encoder / Decoder?

The HTML Encoder / Decoder converts special characters like <, >, & and quotes into safe HTML entities, and can also decode HTML entities back into readable text.

How to use it

  1. Choose Encode or Decode.
  2. Paste your text or HTML entities into the input box.
  3. Copy the converted result.

Features

  • Encode special characters to HTML entities
  • Decode HTML entities back to readable text
  • Correctly handles <, >, &, single and double quotes
  • Copy and clear support

Privacy

Encoding and decoding happens entirely in your browser. No content is sent to a server.

Frequently Asked Questions

Encoding prevents special characters like < and & from being misinterpreted as HTML markup when displaying user-generated text on a web page.

It safely encodes &, <, >, double quotes and single quotes into their corresponding named or numeric entities.