HTML Entity Encode/Decode
Convert between plain text and HTML entities (< > & etc.) in real time. Encode turns special characters into entities; decode restores them. Input and output use text fields with file load and copy support.
HTML Entity Input
HTML Entity Output
Read Only
How to use
About this tool
Converts between plain text and HTML entities (< > & etc.) in real time.
How to use
Choose Encode or Decode, enter text or load a file; the output updates in real time. Use the copy button to copy the result.
Options
■ Convertible named entities
| Entity | Character |
|---|---|
| < | < |
| > | > |
| & | & |
| " | " |
| ' | ' |
| © | © |
| ® | ® |
| ™ | ™ |
| | (NBSP) |
| — | — |
| – | – |
| … | … |
| • | • |
| → | → |
| ← | ← |
| ↑ | ↑ |
| ↓ | ↓ |
| € | € |
| £ | £ |
| ¥ | ¥ |
| ¢ | ¢ |
| ° | ° |
| ± | ± |
| × | × |
| ÷ | ÷ |
| ½ | ½ |
| ¼ | ¼ |
| ¾ | ¾ |
| ⅛ | ⅛ |
| ⅜ | ⅜ |
| ⅝ | ⅝ |
| ⅞ | ⅞ |
| « | « |
| » | » |
| ‹ | ‹ |
| › | › |
| † | † |
| ‡ | ‡ |
| ‰ | ‰ |
| ∞ | ∞ |
| ∑ | ∑ |
| ∏ | ∏ |
| √ | √ |
| ≠ | ≠ |
| ≤ | ≤ |
| ≥ | ≥ |
| · | · |
| ♠ | ♠ |
| ♣ | ♣ |
| ♥ | ♥ |
| ♦ | ♦ |
| α | α |
| β | β |
| γ | γ |
| δ | δ |
| ε | ε |
| θ | θ |
| λ | λ |
| μ | μ |
| π | π |
| σ | σ |
| ω | ω |
| Α | Α |
| Β | Β |
| Γ | Γ |
| Δ | Δ |
| Θ | Θ |
| Λ | Λ |
| Π | Π |
| Σ | Σ |
| Ω | Ω |
Numeric references (&#decimal; &#xhex;) are also decoded.
Use cases
• Escaping HTML for safe display or embedding • Restoring entity notation to plain characters for editing • Handling special characters in logs or messages
