Technically Feasible

Javascript: encode(decode) html text into html entity

on gist.github.com

Decode / Encode html entities with JS