HTML Encoder & Decoder — Convert HTML Entities Free Online
Convert HTML special characters to HTML entities and back. Essential for embedding HTML code inside web pages safely.
Frequently Asked Questions
HTML encoding converts characters like <, >, and & into HTML entities so they display correctly on web pages and don't break HTML structure or enable injection attacks.
Switch to the 'Decode' tab, paste your encoded HTML string (e.g. <h1>), and the tool converts it back to readable text instantly.
No. HTML encoding uses named entities (&, <). URL encoding uses percent signs (%26, %3C). Use this tool for HTML content and the URL Encoder tool for URLs.
No. All encoding and decoding runs locally in your browser. Nothing is sent to any server.
Common HTML Entities
| Character | Entity Name | Entity Number |
|---|---|---|
| < | < | < |
| > | > | > |
| & | & | & |
| " | " | " |
| ' | ' | ' |
| |   | |
| © | © | © |
| ® | ® | ® |