We have employed an exploding-wire compression method to measure the electrical conductivity of diamond-like carbon (DLC) in a warm dense matter (WDM) state. We generated a DLC in the WDM state using shock compression driven by an exploding-wire discharge within a rigid capillary. To elucidate the generation of DLC in WDM, we performed a 1-D magnetohydrodynamic simulation. Using the numerical results, we estimated the electrical conductivity of the DLC plasma. By comparing the time-evolutions of the voltage and current for gold and gold + DLC samples, we demonstrated that the voltage–current evolution is different in the two cases. From the absorption spectroscopy, we estimated the DLC temperature to be 8000–9000 K. By comparing the results of the experiment with those of the numerical simulation, we determined the electrical conductivity of the DLC plasma to be 106 S/m. This is relatively high compared with the electrical conductivity of the conventional carbon plasma, but the experimental results are similar to the theoretical values for diamond at solid density.