The effect of electrolytic oxidation and hydrogenation on the magnetization distribution and magnetic properties of ribbons of amorphous soft magnetic iron-based alloys has been investigated on the example of the Fe77Ni1Si9B13 and Fe81B13Si4C2 alloys. The results of the investigation showed that hydrogenation and oxidation of the surface of the ribbon lead to changes in the magnetic properties, which agree with changes in its magnetic state. A decrease in the volume of domains with orthogonal magnetization observed upon oxidation is caused by the large effective diameter of oxygen atoms inducing a higher level of planar tensile stresses upon incorporation into the ribbon surface. A reduction (observed in both cases) in the volume fraction of domains with a planar magnetization oriented along the ribbon axis is connected with the appearance of pseudo-uniaxial tension in the plane of the ribbon across its axis, since the concentration of atoms incorporated into the surface is enchanced in this direction. The interaction of the surface of the ribbon at room temperature with vapor leads to identical changes in the magnetic characteristics and redistribution of magnetization in its plane.