A new technology of forming micropatterned masks for the etching of diamond films is proposed, which makes possible high-precision lithography on the samples with areas up to 104 mm2. A minimum element size that can be achieved is only determined by the level of lithography accessible for silicon-based integrated circuits. The proposed technology can be used in creating unique devices, including biosensor chips for human genome decoding.