I didn’t know the answer to this so I sent the question to Pete Makovicky, our Associate Curator of Dinosaurs, and this is what he said:
All living reptiles including birds (phylogenetic definition of reptiles) excrete uric acid – the white part of bird ‘poo’ – from their kidneys as a product of protein metabolism. The uric acid is excreted from the cloaca together with the feces as noted by galavanting-grandly. Since dinosaurs slot next to crocs on the tree and include birds, they too would have had uric acid excretion and likely excreted the same way. The advantage to uric acid is that it can be excreted as dry crystals – we mammals excreting urea that needs to be dissolved in water and thus have a far worse water balance than reptiles.
The more you know.