This is a process referred to in government as "Content Disarm and Reconstruction." But I can't stress this enough: if you don't trust the files, you shouldn't be processing them at all locally.<p>I built a similar tool that converts >300 formats to images in a remote sandbox. <a href="https://preview.ninja/" rel="nofollow">https://preview.ninja/</a>