Can you eat mangoes with black spots?
In general, mangoes with black spots are not recommended for consumption. The detailed explanation is as follows:

During the ripening process, phenolic substances inside the mango react with oxygen in the air, causing oxidation and forming black spots on the peel. These black spots may indicate the mango is overripe, and the flesh might have started to spoil. Spoiled mangoes with black spots may contain numerous harmful microorganisms, which can cause gastrointestinal infections when consumed, leading to symptoms such as diarrhea, abdominal pain, and fever. Therefore, it is not advisable to eat them.
For individuals prone to allergies, consuming spoiled mangoes may exacerbate allergic reactions, such as increased skin redness and itching, and even trigger respiratory symptoms. If the mango peel exhibits numerous black spots along with an unpleasant odor or softened, rotten flesh, it should not be purchased or consumed. To extend the shelf life of mangoes, appropriate storage methods should be employed, such as keeping them in a cool, dark place or refrigerating them.