Most cleaners contain hydrogen peroxide hence it can be used on surfaces to get rid of pinworm eggs. This chemical is effective enough against bacteria and parasites, which is why it is the common household cleaner for your floors, clothes, and surfaces that are infected.