DevToolKit

HTML Entity Encoder & Decoder

Convert special characters to HTML entities and back. 100% client-side — your data never leaves your browser.

No data sent to server
Plain Text Input
HTML Entities Output
Ctrl+Enter
Common HTML Entities Reference
<&lt;
>&gt;
&&amp;
"&quot;
'&apos;
©&copy;
®&reg;
&trade;
&euro;
£&pound;
°&deg;
&hellip;

Related Tools

What are HTML Entities?

HTML entities are special codes used to represent characters that have special meaning in HTML, or characters that cannot be easily typed on a keyboard. For example, the less-than sign (<) must be written as &lt; in HTML to prevent the browser from interpreting it as the start of a tag.

When Do You Need Them?

Any time you need to display code examples, user-generated content, or special symbols in HTML. Without proper encoding, characters like <, >, and & can break your HTML structure or create security vulnerabilities (XSS attacks).