The rise was thanks to a further reopening of the economy in the wake of COVID-19 disruptions.
Output growth accelerated for most components, including manufacturing (12.8% against 9.9% in June); electricity and gas supply (8.7% against 5.5% in June); and waste treatment (9.2% against 6.3% in June).
In contrast, mining output fell 1.5%, reversing from a 5.1% growth in June.