This tool instantly decodes HTML entities like <, >, “, and ‘ back into their normal text equivalents. It’s perfect for turning escaped HTML into something readable, whether it came from code, a CMS, or an email. You can paste or import text, toggle decoding behaviors, and see clean output live as you work. It runs entirely in your browser, with nothing to install or reload.
How to Use:
- Paste HTML-escaped input into the left text box.
- Or click Choose File to upload a supported file (.txt, .html, .json, etc.).
- Use the toggles under Options:
- Trim output: Strips leading/trailing whitespace.
- Decode numeric entities: Converts things like
©
to©
. - Decode repeatedly: Useful if input is double-encoded.
- The output box on the right updates instantly as you type or load a file.
- Click Copy Output or Export to File when you’re done.
- Hit Clear All to reset everything and start fresh.
What the HTML Decoder Tool can do:
It transforms HTML-safe entities like < into their actual characters (<). This is especially helpful when dealing with escaped output from web forms, APIs, or content fields. It also decodes numeric codes like < and can handle multiple encoding layers. You get full control over whitespace and decoding depth using the toggle settings.
Example:
Input:
e<div class="alert">5 < 10 & "ok"</div>
Output:
<div class="alert">5 < 10 & "ok"</div>
Common Use Cases:
Use it when you’ve copied source code from a browser, retrieved escaped content from a CMS, or need to clean up JSON or XML with encoded HTML. It’s great for developers, editors, and content managers who deal with raw HTML or escaped data regularly. Everything stays local and updates instantly.
Useful Tools & Suggestions:
If you’re working with raw entities, HTML Encoder is the perfect pair it lets you escape characters for safe web display. And when you want even more control, Text to HTML Entities Converter gives you full coverage of special characters and symbols for HTML output.