HTML Entity Encoder
HTML Entity Reference
| Character | Description | Named | Numeric |
|---|---|---|---|
| & | Ampersand | & | & |
| < | Less than | < | < |
| > | Greater than | > | > |
| " | Double quote | " | " |
| ' | Apostrophe | ' | ' |
| [ ] | Non-breaking space | |   |
| © | Copyright | © | © |
| ® | Registered | ® | ® |
| ™ | Trademark | ™ | ™ |
| — | Em dash | — | — |
| – | En dash | – | – |
| … | Horizontal ellipsis | … | … |
| « | Left double angle quote | « | « |
| » | Right double angle quote | » | » |
| • | Bullet | • | • |
| · | Middle dot | · | · |
| ° | Degree sign | ° | ° |
| ± | Plus-minus | ± | ± |
| × | Multiplication | × | × |
| ÷ | Division | ÷ | ÷ |
| µ | Micro sign | µ | µ |
| ¶ | Paragraph sign | ¶ | ¶ |
| § | Section sign | § | § |
| € | Euro sign | € | € |
| £ | Pound sign | £ | £ |
| ¥ | Yen sign | ¥ | ¥ |
| ¢ | Cent sign | ¢ | ¢ |
| ‘ | Left single quote | ‘ | ‘ |
| ’ | Right single quote | ’ | ’ |
| “ | Left double quote | “ | “ |
| ” | Right double quote | ” | ” |
| ← | Left arrow | ← | ← |
| → | Right arrow | → | → |
| ↑ | Up arrow | ↑ | ↑ |
| ↓ | Down arrow | ↓ | ↓ |
| ♥ | Heart suit | ♥ | ♥ |
| ♦ | Diamond suit | ♦ | ♦ |
| ♣ | Club suit | ♣ | ♣ |
| ♠ | Spade suit | ♠ | ♠ |
What This Tool Does
HTML Entity Encoder is built for deterministic developer and agent workflows.
Encode and decode HTML entities and special characters.
Use How to Use for execution steps and FAQ for constraints, policies, and edge cases.
Last updated:
This tool is provided as-is for convenience. Output should be verified before use in any production or critical context.
Agent Invocation
Best Path For Builders
Browser workflow
Runs instantly in the browser with private local processing and copy/export-ready output.
Browser Workflow
This tool is optimized for instant in-browser execution with local data handling. Run it here and copy/export the output directly.
/html-entities/
For automation planning, fetch the canonical contract at /api/tool/html-entities.json.
How to Use HTML Entity Encoder
- 1
Choose encode or decode
Select whether you're encoding (text → HTML entities) or decoding (entities → readable text).
- 2
Paste text or entities
Input raw text with special characters (©, ™, →, émojis) or paste an HTML string with entity codes (<, &, ).
- 3
Select entity format
Choose named entities (&), numeric (&38;), or hexadecimal (&). Named is most readable; hex is most compact.
- 4
Encode or decode instantly
The tool processes on-the-fly. See character-by-character conversion in a side-by-side comparison.
- 5
Copy for web use
One-click copy to clipboard. Perfect for embedding in HTML, email, or preventing XSS attacks by escaping user input.