Is it safe to put a microwave on top of the refrigerator?

Other than the danger of spilling something hot while reaching over your head, there is no danger in putting a microwave on top of a fridge. Be sure the fridge and microwave are on separate circuits, or you'll blow fuses/breakers regularly.