HTML Entity Encoder

Escape or unescape HTML special characters like <, >, &.

100% Free Forever
Result
Output appears here

Free HTML Entity Encoder

Escape or unescape HTML special characters like <, >, &, and ". Prevent XSS and safely display code snippets in HTML.

How to use this tool

  1. 1

    Paste your text

    Add the string to encode or decode.

  2. 2

    Pick a direction

    Encode for safe HTML; decode to plain text.

Pro tips

  • Always encode user input before inserting it into HTML.

Frequently asked questions

What's the difference vs. URL encoding?

HTML entity encoding makes characters safe in HTML; URL encoding makes them safe in URLs.

Related Tools

We use minimal cookies for site preferences, aggregated analytics and advertising. Your files are always processed in your browser and never uploaded. Privacy Policy