HTML Encoder
Convert all applicable characters to HTML entities or vice versa
Introduction
This is an online HTML encoder tool which helps to converts characters to HTML entities.
How to use this tool?
You can input/paste your HTML directly into the editor, then click the encode/decode button to encode/decode the HTML.
After encoding/decoding, you can download, save or share the result. It will create a short link for you to share with others. You can also sign-in using Google/GitHub to save result into your account.
What is HTML Entity?
An HTML entity is a piece of text ("string") that begins with an ampersand (&) and ends with a semicolon (;) . Entities are frequently used to display reserved characters (which would otherwise be interpreted as HTML code), and invisible characters (like non-breaking spaces). You can also use them in place of other characters that are difficult to type with a standard keyboard.
Some Useful HTML Character Entities
Examples
Before encoded
<!doctype html>
<html lang="en">
<head>
<title>Hello World!</title>
</head>
<body>
<div id="content">
<h1 class="title">Hello World!</h1>
</div>
</body>
</html>
After encoded
<!doctype html>
<html lang="en">
<head>
<title>Hello World!</title>
</head>
<body>
<div id="content">
<h1 class="title">Hello World!</h1>
</div>
</body>
</html>