The peroxy radicals CF3OO and FC(O)OO are prepared in high yields by vacuum flash pyrolysis of ROONO2 or ROOOR (R=CF3, FC(O)), highly diluted in inert gases, and subsequent isolation in inert-gas matrices by quenching the product mixtures at low temperatures. The IR spectrum of FC(O)OO was observed for the first time and eight fundamentals as well as several combinations were measured and assigned for both cis and trans rotamers of FC(O)OO. Discrepancies in an earlier assignment of the fundamentals of CF3OO have been eliminated and its IR spectrum is reported fully. The matrix UV spectra of both peroxy radicals (X2A"--> 2(2)A" transition) are in agreement with the gas-phase spectra; however, there are differences in the absorption cross-sections, for which possible reasons are discussed. The X2A"--> 1(2)A' transitions in the near IR region are too weak to be detected with our instrumentation.