The invention relates to devices for the protection against bacteria and microorganisms by means of sterilization of portable digital devices and accessory parts. The sterilizer comprises a case, a protective cover (9) and sources of ultraviolet radiation (5). The sources of ultraviolet radiation (5) are fixed on two opposite walls (3) inside the case. The case walls (3) are provided with reflectors (4). The sterilizer further comprises a container (7) for receiving the portable digital devices and accessory parts to be disinfected. The container (7) is designed to be permeable for ultraviolet radiation and makes it possible to actuate the device, so that the sources of ultraviolet radiation (5) can be switched on.