How can I check integrity of Sd card in Raspberry Pi?

Yes, Windows tool called h2testw it will erase the content of the SD Card, but it surely tells you if the card is defect or not.