HTML Entity Encoder
Escape <, >, &, quotes and all characters into HTML entities, or convert entities back to readable text.
Input
Output
How to use the HTML Entity Encoder
Escape special characters into HTML entities, or convert entities back to readable text.
Steps
- Choose a mode: Escape basic only (& < > " ') or Escape all entities (also turns non-ASCII characters into numeric entities).
- Paste your text and click Encode, or click Decode to turn entities back into plain text.
- Copy the result with the Copy button.
Useful for safely displaying HTML in web pages or sanitizing user-generated content.