Encode and decode HTML entities online for free. Escape special characters for safe markup or unescape entities back to text. No signup required.
First time here? Choose Encode or Decode mode Your input is processed locally and disappears when you close the tab.
Displaying a code snippet inside a web page, embedding user-generated content, or debugging why & shows up literally in your UI — HTML entity handling is a constant low-level chore. Our free HTML Entity Encoder / Decoder converts special characters to safe entities and back, instantly, in your browser.
Encoding mode escapes characters that HTML treats as markup — <, >, &, quotes — so they render as text instead of breaking your page or opening an XSS hole. Decoding mode reverses the process and understands all three entity forms: named (&copy;), decimal (&#169;), and hexadecimal (&#xA9;), plus Unicode characters and emoji.
It's a daily companion for anyone writing documentation with code samples, fixing double-encoded strings from legacy systems, or sanitizing scraped content. Everything runs locally with nothing transmitted. For escaping data in URLs use the URL Encoder & Decoder, and shrink your finished markup with the HTML Minifier.
Choose Encode or Decode mode
Paste your text or markup
The converted result appears instantly
Copy the output to your clipboard