Great spotted woodpecker

They are omnivorous, with invertebrates forming the basis of their menu.

An excerpt from the article 19 facts about Great spotted woodpecker
Their diet includes beetle larvae, adult beetles, spiders, ants and caterpillars. They make up for the lack of meat with pine and spruce seeds and fruits in autumn and winter. In extreme cases, the woodpecker may raid nests of other birds, eat eggs and chicks, or feed on carrion.