// html-entity
HTML Entity Encoder / Decoder
Encode special characters to HTML entities or decode HTML entities back to text.
Common Entities Reference
| Character | Named Entities | Numeric Entities |
|---|---|---|
| & | ||
| < | ||
| > | ||
| " | ||
| ' | ||
| © | ||
| ® | ||
| ™ | ||
| € | ||
| ¥ |
How to Use HTML Entity Encoder / Decoder
- Choose mode-Select Encode to convert characters to HTML entities, or Decode to convert entities back to characters.
- Enter text-Type or paste your text in the input area.
- Choose entity type-When encoding, select Named Entities (&amp;) or Numeric Entities (&).
- Copy result-The output updates automatically. Click Copy to copy the result.
About HTML Entity Encoder / Decoder
HTML Entity Encoder converts special characters like <, >, &, and quotes into their HTML entity equivalents, preventing XSS attacks and rendering issues.
The decoder reverses this process, converting HTML entities back to their original characters for editing or processing.
Supports both named entities (like &amp;) and numeric entities (like &#38;). All processing is done locally in your browser.