Coalbed methane represents a promising source of clean and efficient unconventional energy. The intricate network of micro–nano pores within coal serves as the primary adsorption space for gas, contributing to the complexity of gas migration channels. In this study, based on the box-counting method, three coal samples representing low, medium, and high ranks were subjected to high-precision micro-CT scanning and nano-CT scanning to generate three-dimensional (3D) pore network models using Avizo visualization software. This facilitated the accurate and quantitative characterization of the micro–nano pore structures within coal reservoirs. The results indicated that the face rate distribution range of each sample was large, indicating relatively strong heterogeneity in each sample. The volume fractal dimension of each sample, determined through micro–nano-CT scanning, was around 2.5, while the surface fractal dimension exhibited oscillatory characteristics with moderate uniformity. The pore equivalent radius and throat equivalent radius distributions were unimodal across all the samples, with the micro-CT scanning revealing a concentration primarily within the range of 100–400 μm for the pore equivalent radius and within 200 μm for the throat equivalent radius. Conversely, the nano-CT scanning exhibited concentrations primarily within the range of 500–2500 nm for the pore equivalent radius and within 2000 nm for the throat equivalent radius. The analysis of the 3D reconstruction structures indicated that the middle-rank coal exhibited more developed large–medium pores compared with the low-rank and high-rank coal, while the low-rank and high-rank coal exhibited relatively more micro–small pores. Furthermore, the low-rank coal exhibited the fewest number of pores but the largest average pore equivalent radius and throat radius. Additionally, the middle–high-rank coal exhibited a relatively larger number of pores. Despite the complex topological structures observed in each sample, a significant proportion indicated a coordination number of 0–20, indicating excellent connectivity within the coal samples. This study is conducive to the optimization of coalbed methane surface development blocks and the formulation of reasonable development plans.