Recently, smart gadgets are increasingly prevalent in society. Research indicates that the personal smartphone and tablet are ten times dirtier than the toilet. The presence of the commonly found bacteria like E. coli and S. aureus may cause diseases such as food poisoning and diarrhea. Different smartphone sanitizers with charger function may present in the market. Yet the currently found portable sanitizer has limitations. Therefore, a tablet case will be designed to sanitize the tablets widely used in the public. In this project, a prototype that can sanitize the tablets will be made. Scientific research proves that UV-LED light with wavelength around 280 nm to 300 nm is capable of the removal of bacteria. Hence, the UV-LED lights will be incorporated as the source of sanitization and the solar panels will be connected to the UV-LED lights as a power source. When the flip cover of the tablet case is closed, the hall effect sensor detects the magnetic field, then the UV-LED lights on the inner side of the cover will automatically switch on. We hope the Green Tablet Sanitizer can inhibit the growth of bacteria commonly found on the screen in a greener way and alleviating the current coronavirus pandemic.