An x-ray transfocator design for the combined use of 1D and 2D compound refractive lenses is described. The device includes stacks of beryllium parabolic lenses with different radii of curvature and provides microfocused x-ray beams in the 4-20 keV photon energy range. The transfocator has been implemented at the P10 Coherence Beamline of the PETRA III synchrotron at DESY, Hamburg. Results of transfocator performance and applications for coherent x-ray scattering experiments are presented.