The physical properties of two-dimensional (2D) materials depend strongly on the number of layers. Hence, methods for controlling their thickness with atomic layer precision are highly desirable, yet still too rare, and demonstrated for only a limited number of 2D materials. Here, we present a simple and scalable method for the continuous layer-by-layer thinning that works for a large class of 2D materials, notably layered germanium pnictides and chalcogenides. It is based on a simple oxidation/ etching process, which selectively occurs on the topmost layers. Through a combination of atomic force microscopy, X-ray photoelectron spectroscopy, Raman spectroscopy, and X-ray diffraction experiments we demonstrate the thinning method on germanium arsenide (GeAs), germanium sulfide (GeS), and germanium disulfide (GeS 2). We use first-principles simulation to provide insights into the oxidation mechanism. Our strategy, which could be applied to other classes of 2D materials upon proper choice of the oxidation/etching reagent, supports 2D material-based device applications, e.g., in electronics or optoelectronics, where a precise control over the number of layers (hence over the material's physical properties) is needed. Finally, we also show that when used in combination with lithography, our method can be used to make precise patterns in the 2D materials.