Compact thin films of stoichiometric, amorphous C3N4 have been prepared by means of chemical transport of carbon in intense nitrogen glow discharge at relatively high deposition temperature of about 800 °C. Their hardness reached 2500 Vickers (kg/mm2).