HTML Entity Decoder
Decode named and numeric HTML character references recognized by the browser.
Try a small example
Try a small example
Load the fictional example in a cleared form. Check the options, run the tool if needed, and compare the result below.
Decode character references recognized by the browser into literal characters. Paste encoded text and run the decoder. It turns browser-recognized named and numeric character references back into literal characters; for example, & becomes &. The result is text, not sanitized HTML—keep untrusted output in a text context. Decoding does not sanitize the result: for example, < becomes <. Keep untrusted output as text instead of interpreting it as HTML.
Text with HTML character references
<p>Tea & coffee</p>
Expected output
<p>Tea & coffee</p>
The example is unavailable until the tool is ready.
Text is processed in your browser.
Share this tool
Only the tool’s public link is shared. Your inputs and results stay here.
Show link to copy manually
Quick answer
Decode character references recognized by the browser into literal characters.
The page and its assets load from the site; this operation uses your entered values only in this browser and does not send them to a calculation endpoint.
How to use it
Paste encoded text and run the decoder. It turns browser-recognized named and numeric character references back into literal characters; for example, & becomes &. The result is text, not sanitized HTML—keep untrusted output in a text context.
Limits
Decoding does not sanitize the result: for example, < becomes <. Keep untrusted output as text instead of interpreting it as HTML.
Frequently asked questions
Which references are decoded?
It uses the browser to decode recognized named and numeric HTML character references, such as & or <. Text that is not a recognized reference is left as text.
Does decoding make the result safe HTML?
No. Decoding can turn < into < and & into &. The result is text, not sanitized markup; keep untrusted output in a text context.
Sources and references
These references document the cited standard or browser API; they do not validate the tool’s output.
