HTML Encode & Decode

Web Development

Encode special characters to HTML entities or decode them back to plain text. Includes URL encoding/decoding and Base64 conversion.

HTML Encode/Decode

Quick Actions

Common Examples

HTML Encode:
<div>Hello & World</div> → &lt;div&gt;Hello &amp; World&lt;/div&gt;
URL Encode:
Hello World! → Hello%20World%21
Base64 Encode:
Hello → SGVsbG8=

HTML Entities Reference

Character Entity Description
< &lt; Less than
> &gt; Greater than
& &amp; Ampersand
" &quot; Double quote
' &apos; Single quote
© &copy; Copyright