HTML Entities
Encode / DecodeEncode and decode HTML entities
Characters like `<`, `>`, and `&` break HTML markup unless escaped into entities, and this tool handles that in both directions: encoding raw text before it goes into a template, or decoding a string like `&copy; 2024` copied from page source to see what it actually renders as. It's a different kind of escaping from URL encoding, which targets URLs rather than markup, so keep them separate in your head even though both come up when sanitizing user input. A common symptom this tool helps diagnose is double-encoding, which shows up as literal `&amp;` in your output and usually traces back to a templating engine that auto-escapes plus a manual encode step layered on top.
How to use HTML Entities
- 1.Paste text containing special characters (`<`, `&`, quotes) and encode it to get safe HTML entities before inserting it into a template.
- 2.Decode a string like `&copy; 2024` copied from page source to see what it actually renders as.
- 3.Use it to debug why user-submitted text is displaying literal `&` or `<` instead of the intended characters — usually a sign of double-encoding.
Frequently asked questions
Use via API, SDK, or MCP
cURL# Free: 1,000 req/day · Pro: 10,000 req/day
curl -X POST https://api.utilix.tech/v1/tools/html-entities \
-H "Authorization: Bearer utx_live_..." \
-H "Content-Type: application/json" \
-d '{"input":"<div class=\"foo\">","mode":"encode"}'Get an API key from your dashboard · Full API docs →