Use wordoff through its API by POSTing to the /api/clean method with a single html argument:
curl -d html=<Dirty HTML> http://wordoff.org/api/clean