1 kWh = 3600000 J
1 J = 2.777778e-7 kWh
To convert from Kilowatt-hour to Joule, use this formula:
Kilowatt-hour * 1