"Liquid gasoline does not have anywhere near the energy of TNT,"
Energy density of gasoline is approximately 44 to 45 megajoules per kilogram.
Energy density of TNT is approximately 4.184 megajoules per kilogram.
A snickers bar has nearly 5× TNT’s energy per kilogram—TNT merely has the habit of being extremely impatient about releasing it.
Gasoline, when in liquid form, is not mixed with oxygen and burns, releases energy slowly. In comparison with TNT which is both the fuel and oxidizing agent releases energy very fast, it has detonation velocity of 6,900 m/s.
https://en.wikipedia.org/wiki/Table_of_explosive_detonation_...
There is a way how to use the energy density of gasoline for explosive purposes, Thermobaric weapons.
"A fuel–air explosive (FAE) device consists of a container of fuel and two separate explosive charges. After the munition is dropped or fired, the first explosive charge bursts open the container at a predetermined height and disperses the fuel in a cloud that mixes with atmospheric oxygen (the size of the cloud varies with the size of the munition). The cloud of fuel flows around objects and into structures. The second charge then detonates the cloud and creates a massive blast wave."
https://en.wikipedia.org/wiki/Thermobaric_weapon