HTML Entities Encoder/Decoder
Encodes characters that break HTML (& < > " ') into entities, or decodes entities back into readable text.
Result
About
To safely embed text in HTML, special characters must be turned into entities — otherwise the browser may treat them as tags. For decoding, the browser's own engine is used so every named and numeric entity is converted correctly.
All processing happens in your browser; your text is never sent out.
How to use
- Pick the Encode or Decode tab.
- Paste the text or entity-containing text into the box.
- Copy the result.
Common HTML entities
- & → &
- Ampersand; must always be encoded in HTML.
- < → < > → >
- Less-than/greater-than, so they aren't read as tags.
- " → " ' → '
- Double and single quotation marks.
- (space) →
- Non-breaking space.
- © → © ® → ®
- Copyright and registered trademark symbols.
- € → € £ → £
- Currency symbols.
Frequently Asked Questions
- Which characters are encoded?
- When encoding, & < > " and ' are converted to their entities. When decoding, all named/numeric entities are supported.
- Are non-English characters kept?
- Yes. Encoding only converts HTML-unsafe characters; accented letters are left as-is.
Other tools
Embed this tool
Copy the code below and paste it into your site's HTML to embed this tool for free. The snippet includes an attribution link back to the source.
<iframe src="https://tooldict.com/embed/en/html-entities" title="HTML Entities Encoder/Decoder" width="100%" height="600" style="border:1px solid #e2e8f0;border-radius:16px;max-width:680px" loading="lazy"></iframe>
<p style="font:13px/1.5 sans-serif">Powered by <a href="https://tooldict.com/en/html-entities" target="_blank" rel="noopener">HTML Entities Encoder/Decoder</a> — Tooldict</p>