Error Message
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.
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
<!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>
For Advanced Users
External URL
Load External URL in Browser URL like this
https://format.asia/
https://format.asia/html-encode?url=https://format.asia/assets/data/sample.html