A portable sterilizer is provided that is capable of sterilizing an object. The portable sterilizer includes a housing, sensor, and at least one sterilizing light source. The housing has a chamber and at least one opening communicated with the chamber. The sensor is disposed in the housing. The sterilizing light source is disposed in the housing and electrically coupled to the sensor. When the object is placed into the chamber through the opening and detected by the sensor, the sterilizing light source is actuated by the sensor so as to emit a sterilizing light beam into the chamber for sterilizing the object located in the chamber.一種可攜式殺菌裝置適於對一目標物進行殺菌。可攜式殺菌裝置包括殼體、感測器以及至少一殺菌光源。殼體具有腔室以及與腔室相連通的至少一開孔。感測器設置於殼體內。殺菌光源設置於殼體內,且電性耦接於感測器。當目標物自開孔置入腔室,且感測器感測到目標物時,感測器致動殺菌光源以使殺菌光源發出殺菌光束至腔室內,以對位於腔室內的目標物進行殺菌。100‧‧‧可攜式殺菌裝置110‧‧‧殼體111‧‧‧腔室112‧‧‧開孔113‧‧‧第一殼件113a‧‧‧第一腔室114‧‧‧第二殼件114a‧‧‧第二腔室115‧‧‧插槽120‧‧‧感測器130‧‧‧第一殺菌光源140‧‧‧指示燈150‧‧‧電池