Convert HTML Entities | JavaScriptSource

Convert HTML Entities

JavaScriptSource Staff Jan 29, 2007


This script will convert entities (e.g., &, é) back into normal characters (e.g., &, é). Short and easy to use.

This is the original format:

¿Hablas bien el español?

Click to see conversion


Source Code

Paste this source code into the designated areas.

External file

Paste this code into an external JavaScript file named: convertHTMLEntity.js


Paste this code into the HEAD section of your HTML document.

Leave a Response


Thank you! The code worked like a charm! Such a little script, but great functionality!

Nirmal Natarajan Aug 27, 2008

Thanks, the code works perfectly. I've been 2 hours searching for this!

Acelgafrita Feb 18, 2008