Tools
PDF Tools 34
Image Tools 5
AI Writing 13
Text Tools 13
SEO and websites 22
YouTube and video 13
Calculators and converters 17
Developer Tools 13
Other tools 2
Scanner Blog
Language

HTML Entities Encoder

Convert special characters into safe HTML entities.

Related tools

All tools in this group
Illustration of text with HTML symbols turned into encoded entities

Why the tag vanished from your article

You write a tutorial explaining a tag like <div>, publish it, and the tag is nowhere to be seen on the page. The browser did not display it because it took it for a real tag in the page. The fix is to write special characters in a form the browser reads as text to show. That form is called HTML entities, and Jood's HTML entities encoder converts your text in a second.

How to use it

  1. Paste the text or code into the "Input Data" box, up to 2 MB.
  2. Click "Start Now".
  3. Copy the output with "Copy Result" and paste it into your page.

What changes and what stays

  • Angle brackets: < becomes &lt; and > becomes &gt;.
  • The ampersand & becomes &amp;.
  • The double quote becomes &quot; and the apostrophe becomes &#039;.
  • Accented letters and symbols that have a name in HTML: é becomes &eacute;, € becomes &euro;, © becomes &copy; and a non-breaking space becomes &nbsp;.

Arabic letters and emoji stay as they are. They need no encoding in a UTF-8 page, which is what nearly every modern site uses.

Where it helps

  • Showing code examples in an article, a lesson or a forum post without the browser interpreting them.
  • Putting text inside an HTML attribute such as title or alt, when it contains quotes that would end the attribute too early.
  • Email templates and static pages where you paste text from another source and want it to appear exactly as written.

Three common mistakes

  • Encoding twice: if the text is already encoded, &amp; turns into &amp;amp; and the entity itself shows on the page instead of the character. Only encode raw text.
  • Using the output in XML: XML only knows five basic entities, so names like &eacute; make an XML or RSS file invalid. This tool is meant for HTML pages.
  • Relying on it to secure a site: if you build a site that displays what visitors type, the encoding has to happen in your code every time the text is shown, for example with htmlspecialchars in PHP, not by hand.

To turn entities back into characters, use the HTML entities decoder, and to encode a web address, the URL slug generator and encoder. Your text is sent to Jood's server, converted, and not stored.