We present a fast and simple method to prepare specimens for transmission electron microscopy studies of oxide thin films deposited on silicon substrates. The method consists of scratching the film surface using a pointed diamond tip, in a special manner. Small and thin fragments are then detached from the film and its substrate. Depending on the scratching direction, the fragments can be used for plan-view or cross-section imaging. High-resolution images can be also obtained from thin edges of the film fragments. The method is demonstrated in the case of HfO2 sol-gel films deposited on [100] Si wafer substrates.