The invention is directed to an improved sterilizing device (1) forsterilizing of a fluid by UV-radiation. The sterilizing device (1) has amodular setup with at least one flange (2, 3), an inner and an outer tube (4,5) and comprises at least one UV-lamp (16) for emitting UV-radiation. A lamptag (32) attached to or incorporated in the at least one UV-lamp (16)comprises information regarding the UV-lamp (16). The lamp tag (32) isinterconnected with a lamp sensor unit (18) and/or a control unit (19) and maycomprise sensors to control the sterilizing process.