HTML SYMBOL CONVERTER

Displaying HTML code as plain text can be frustrating, having to look up the identifier code for each reserved character (e.g < = &lt;). For example, if I want to display:

<h1>Hello, world!</h1>

I have to replace each of the angle brackets with their identifiers, so it becomes

&lt;h1&gt;Hello, world!&lt;/h1&gt;

This tool allows you to make your html code ready to display on a web page. Just paste your code in, and it replaces the reserved symbols with their display-friendly identifiers so that you can easily display your code without having to replace each symbol manually.

Enter your code:

Still don't get what this tool does? No problem, here's the above form's source code:

<form action="outputPage.php" method="post">
<div class="paragraphText">Enter your code:</div>
<textarea type="text" name="userInput" placeholder="Enter your code here..."></textarea>
<input type="submit" value="Submit" name="submit" style="position: relative; margin: 10px 0;">
</form>

But in HTML, if you want to write that, you have to use a workaround, because as stated above, if you want to print a <, you have to type &lt; for every < and &gt; for every >, which is fine if you just want to show how to print hello, world! onto a web page by typing <p>hello, world!</p>, but even while writing that I have to use those identifiers, and it can get annoying. So when you paste the above code into the tool, it repalces every < with &lt; and all other reserved characters with their identifiers:

&lt;form action=&quot;outputPage.php&quot; method=&quot;post&quot;&gt; &lt;div class=&quot;paragraphText&quot;&gt;Enter your code:&lt;/div&gt; &lt;textarea type=&quot;text&quot; name=&quot;userInput&quot; placeholder=&quot;Enter your code here..."&gt;&lt;/textarea&gt;&lt;input type=&quot;submit&quot; value=&quot;Submit&quot; name=&quot;submit&quot; style=&quot;position: relative; margin: 10px 0;&quot;&gt; &lt;/form&gt;;

Not exactly something you'd want to have to type out manually, right? That's why you can just write your html as normal and have it converted for you!