A design is presented for a beam splitter suitable for ultrashort pulses in the mid-infrared and terahertz spectral range consisting of a structured metal layer on a diamond substrate. Both the theory and experiment show that this beam splitter does not distort the temporal pulse shape.