Google says..
Historical records give us some further idea about what might have happened to battlefield bodies. Many corpses left on the battlefield would, of course, be buried. Christopher Daniell’s book Death and Burial in Medieval England, 1066-1550 indicates that in the Middle Ages, people preferred to bury bodies in consecrated ground. This would not always have been possible after a battle, but nevertheless, mass graves were sometimes dug to bury battlefield corpses. Several such mass graves have been discovered. You can read about one on page 138 of Daniell’s book.
Bodies would also be left to rot on the battlefield. Daniell says that it “was very rare for a person not to be buried” but that one major exception was when bodies were left to rot on battlefields. If the battle was very large or if the winning side wanted to disrespect the bodies of the fallen enemy, they would simply leave them to rot. This could also happen during a siege as Daniell suggests; he gives one example where during the Agincourt campaign bodies were left to rot in the streets of Harfleur.
Bodies on battlefields might also be burnt. William of Malmesbury reports one instance when during a crusade the bodies of the fallen were piled up and burnt for fear of disease spreading. According to Daniell this was rare, and there was not often a connection made between the spread of disease and rotting corpses.