Both bleach and white vinegar can be used to clean a washing machine. Bleach is a disinfectant but has a strong smell and should be used with caution. White vinegar is a natural cleaner that removes soap and limescale build-up. Choose the appropriate cleaner for your machine and follow safety guidelines when using bleach.