Source code at https://github.com/willemmulder/FilteredPaste.js What does it do? FilteredPaste.js is a jQuery plugin that filters any pasted input so that your application gets clean input, without any tags or attributes that you don't want. It supports native undo with control+z. IE and Opera are not supported yet. // Simply works like this $("#anytextarea").filteredPaste(); Comes with a default