In this study, polyethylene glycol (PEG) and vinyltriethoxysilane (VTES) were used in different proportions to produce a series of PEG–VTES copolymers. The copolymer molecular structures were confirmed by FTIR spectroscopy. In addition, their surface activities were evaluated by evaluating the surface tension, contact angle, and foaming properties. The results showed that these surfactants exhibited excellent surface activities and wetting power, as well as low foaming. Consequently, the application of a series of PEG/VTES copolymers can make cotton fabrics stain resistant.