Amphiphilic ester compounds of the general formula I ##STR3## in which R.sup.1 and R.sup.2 are, independently of one another, a hydrocarbon radical with 1 to 22 carbon atoms or an acyl radical with 2 to 23 carbon atoms, A is a di-, oligo- or polycarbonyl moiety, Y and Z are, independently of one another, hydrogen or the functional group --CH.sub.2 COOM, --SO.sub.3 M, --C.sub.2 H.sub.4 SO.sub.3 M, --C(O)C.sub.2 H.sub.3 (SO.sub.3 M)COOM' or --P(O)(OM).sub.2 where M, M'=alkali metal, ammonium, alkanolammonium or 1/2 alkaline earth metal, where at least Y or Z is different from hydrogen, n and m are each, independently of one another, at least 1, and a, b, c, d, e, f, g and h are, independently of one another, numbers from 0 to 15, where the total of a and b, c and d, e and f, and g and h must, in each case, be at least 1, and where the alkoxide units are incorporated randomly or blockwise in any desired sequence.