Cool HTML entities encoder / decoder Online tool

We’d like to introduce you to a free tool to encode and decode HTML entities. It is a simple tool that doesn’t require any installation. You can use it anytime you need to encode or decode a string. For more information on HTML entities, you check out our HTML entities cheat sheet.

Base64 Decode Base64 Encode Copy the Output

HTML Entities Encode / Decode Tool

Paste the HTML entities in the input box and click the decode/encode button to get the decoded/encoded output in the above output box. This will convert reserved HTML characters into their equivalent HTML entities. Click the copy button to copy the output.

What are HTML Entities?

Entities are used to apply reserved characters or to communicate characters that cannot easily be entered with the keyboard. The HTML Symbol Entities include mathematical symbols, Greek characters, various arrows, technical symbols, and shapes. In HTML and XML there will be special characters that are to be reserved for use in an HTML page/document. To be able to have these characters displayed on your webpage rather than processed by the browser, you have to encode them into their entity equivalents. For example, the character “&” will become &

Sample Input code
<!DOCTYPE html><html><head><title>Page Title</title></head><body><h1>This is a Heading</h1><p>This is a paragraph.</p></body></html>
Sample output
&lt;!DOCTYPE html&gt;&lt;html&gt;&lt;head&gt;&lt;title&gt;Page Title&lt;/title&gt;&lt;/head&gt;&lt;body&gt;&lt;h1&gt;This is a Heading&lt;/h1&gt;&lt;p&gt;This is a paragraph.&lt;/p&gt;&lt;/body&gt;&lt;/html&gt;