Clean up exported text
Product feeds, CMS exports and scraped pages are often full of &, " and ü. Decoding them gives you clean text you can paste into a spreadsheet or another system.
Tags in the input are left as they are and are never run, so it is safe to paste any HTML.
Decoding also helps when text was escaped twice by mistake, which shows up as & in place of a single &. Run the result through the decoder again until it reads normally.
Named, decimal and hex codes give the same result
é, é and é are three ways to write é, and all of them decode to the same letter. Decoding uses the same rules as a browser, so even old style entities written without the closing semicolon, such as © in legacy pages, are read the way a browser would show them. Text without any & is returned unchanged.
One result often surprises people: becomes a non breaking space, not a normal one. It looks the same, but a spreadsheet formula, a search or a comparison may treat it as a different character. If decoded product names do not match in Excel or in a database, a hidden non breaking space is a likely cause, and replacing it with a normal space fixes it.
About HTML
HTML entities are codes like < or Ş that stand for a character. They are needed for characters that have a special meaning in HTML and for characters a page cannot store directly.