use turbowarp, as their packager also have a ability of transforming a .sb3 into .html or .zip, you could keep using scratch for the whole game and that itch.io html porter if you want to.
Oh I used Sheeptester HTMLifier