HTML Encode

Enter the text to be HTML encoded

Size : 0 , 0 Characters

The Encoded HTML:

Size : 0 , 0 Characters

HTML Encode Online

HTML Encode is easy to use tool to encode plain HTML to encoded html which helps to show html text in HTML in <pre> tag. Copy, Paste and Encode.

Why do you need HTML encoding?

HTML encoding replaces special characters in HTML such as <, > with reserved HTML entities that are recognized by the HTML engine. Most common cases of using HTML encoding is when you want to display HTML special characters as text in your HTML element content. For example, if you want to display < within your div element, you need to encode (or escape) < character by replacing it with <.

What can you do with HTML Encode?

  • HTML Encode is very unique tool to encode plain html.
  • This tool saves your time and helps to encode Hyper Text Markup language data.
  • This tool allows loading the Plain HTML data URL, which loads plain data to encode. Click on the URL button, Enter URL and Submit.
  • Users can also convert plain HTML File to encoded HTML by uploading the file.
  • HTML Encoder Online works well on Windows, MAC, Linux, Chrome, Firefox, Edge, and Safari.


HTML Try it.

<!DOCTYPE html>
    <title>Largest companies by market cap — US Stock Market</title>
    <meta charset="UTF-8" />
    <h1>Apple : 2037 Billion</h1>
    <h2>Microsoft : 1624 Billion</h2>
    <h3>Amazon : 1611 Billion</h3>
    <h4>Google : 1058 Billion</h4>
    <h5>Alibaba : 826 Billion</h5>
    <b>This data is as of 21 Sep 2020.</b>

Encoded HTML

&lt;!DOCTYPE html&gt;
    &lt;title&gt;Largest companies by market cap — US Stock Market&lt;/title&gt;
    &lt;meta charset="UTF-8" /&gt;
    &lt;h1&gt;Apple : 2037 Billion&lt;/h1&gt;
    &lt;h2&gt;Microsoft : 1624 Billion&lt;/h2&gt;
    &lt;h3&gt;Amazon : 1611 Billion&lt;/h3&gt;
    &lt;h4&gt;Google : 1058 Billion&lt;/h4&gt;
    &lt;h5&gt;Alibaba : 826 Billion&lt;/h5&gt;
    &lt;b&gt;This data is as of 21 Sep 2020.&lt;/b&gt;

For Advanced Users

External URL

Load External URL in Browser URL like this https://format.asia/html-encode?url=external-url