Consol Energy Inc., one of the world’s oldest coal miners, said Tuesday its board has approved plans to spin off its coal business, cementing its identity as a natural-gas exploration and production company.

Consol Energy said in December it planned to separate itself from the coal business, but the makeover for the Pennsylvania company began earlier this decade amid a boom in domestic natural-gas exploration. In late 2015, Consol’s…