Developer Tools

HTML entities encoder and decoder

Convert text to HTML entities or decode entities without rendering HTML.

JavaScript is required to run the interactive tool. Open the tool separately if it does not load in the frame.

How to use it

Choose Encode or Decode, enter text and press Run. The result is displayed as text.

Example

An ampersand can be encoded as &.

Frequently asked question

Will pasted HTML run?

No. The tool displays the result as text inside the isolated runtime.

Limits and privacy

Decoding does not execute markup. Input is limited to 2 million characters.

Tool input is processed in a separate browser environment without advertising or analytics scripts. This page does not upload it to the service.