Surface impedance of metals in infrared region is calculated for an arbitrary Fermi surface. Expressions applicable to all cases of skin-effect (normal, anomalous and intermediate) are obtained. For anomalous skin-effect a component of electric field decreases very slowly in the depth of metals, which leads to the transparency of metallic films. It is proposed to develop a contactless method for the purity control of well refined metals by means of this effect. Surface impedance in a perpendicular magnetic field is also considered.