Tool Cluster

Encoding

HTML Entity Escape/Unescape

Escape common HTML characters or unescape named and numeric entities.

Runs locallyNo uploadNo external API

Input

Output

Paste HTML text or load a sample to escape or unescape entities.

Entity escaping is not an XSS sanitizer. Review unsafe HTML before rendering it in an application.

Paste HTML text or load a sample to escape or unescape entities.
Local-only note

Runs in your browser. Input is not uploaded or sent to an external API.

How to use HTML Entity

Escape the common characters that conflict with HTML markup or decode named and numeric entities back to readable text.

  1. Paste or type your input.
  2. Load the sample if you want a quick check.
  3. Run the action, review the result, then copy only what you need.

Examples

Escape a snippet

Input: <b>Tom & Jerry</b>

Output: &lt;b&gt;Tom &amp; Jerry&lt;/b&gt;

Decode entities

Input: Fish &amp; Chips &#38; Tea

Output: Fish & Chips & Tea

Common use cases

Prepare code examples

Escape short HTML snippets before pasting them into documentation.

Limitations

Not sanitization

Escaping text for display is not a full XSS sanitizer for arbitrary HTML rendering.

FAQ

Which characters are escaped?

Ampersand, less-than, greater-than, double quote, and single quote are escaped.

Can this make unsafe HTML safe?

No. Treat it as a text conversion helper, not a security sanitizer.