The trends and challenges of pyrolysis technology nowadays have shifted to low-temperature pyrolysis, which provides low-cost processes but high-yield conversion, with suitable H2/CO ratios for performing gas-to-liquid technology in the future. The present study has developed a modified vacuum pyrolysis reactor to convert sugarcane bagasse to gas products, including H2, CO2, CH4, and CO in the low-temperature process. The experimental design includes the effects of pyrolysis time, pyrolysis temperature, and applying a current as a function of the electromagnetic field. The result showed that 0.12 ng/µL, 0.85 ng/µL, and 0.31 ng/µL of hydrogen (H2), carbon dioxide (CO2), and carbon monoxide (CO) gases, respectively, started forming in the first 20 min at 210 °C for the pyrolysis temperature, and the gas product accumulated in the increase of pyrolysis time and temperature. In the absence of electromagnetic field, the optimum condition was obtained at 60 min and 290 °C of pyrolysis time and temperature, respectively, in which 20.98, 14.86, 14.56, and 15.78 ng/µL of H2, CO2, CH4, and CO were generated, respectively. However, this condition did not meet the minimum value of Fischer–Tropsch synthesis, since the minimum requirement of the H2/CO ratio is 2. Furthermore, applying the electromagnetic field performed a significant improvement, in which applying current ≥3A improved the gas product to 33.76, 8.71, 18.39, and 7.66 ng/µL of H2, CO2, CH4, and CO, respectively, with an H2/CO ratio above 2. The obtained result showed that applying electric current as an electromagnetic field provides a significant improvement, not only in boosting yield product, but also in performing the standard ratios of H2/CO in the gas–liquid conversion of syngas to liquid hydrocarbon. The result proves that applying an electromagnetic approach could be used as an alternative way to obtain efficiency and as a better process to convert biomass as a future energy source.