HTML Encode Online


About

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.

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.

Example

HTML Try it.

<!DOCTYPE html>
<html>
  <head>
    <title>Largest companies by market cap — US Stock Market</title>
    <meta charset="UTF-8" />
  </head>
  <body>
    <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>
   </body>
</html>

Encoded HTML

&lt;!DOCTYPE html&gt;
&lt;html&gt;
  &lt;head&gt;
    &lt;title&gt;Largest companies by market cap — US Stock Market&lt;/title&gt;
    &lt;meta charset="UTF-8" /&gt;
  &lt;/head&gt;
  &lt;body&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;
   &lt;/body&gt;
&lt;/html&gt;

For Advanced Users

External URL

Load External URL in Browser URL like this https://xhcode.com/html-encode-string.html?url=external-url

https://xhcode.com/html-encode-string.html?url=https://gist.githubusercontent.com/cbmgit/ca77ec0677c0e18019cdab8617517d36/raw/sample.html