TOKYO (Reuters) - Japan's exports rose for an eighth straight month in July on robust shipments to the United States and a boost from a weak yen, a sign overseas demand rebounded from a lull in the previous quarter to underpin a steady economic recovery.
The data underscores the Bank of Japan's view the world's third-largest economy is showing increasing signs of strength as private consumption adds momentum to an export-led recovery.
Imports rose for the seventh straight month on brisk demand for personal computers and digital cameras from China, highlighting the strength of domestic consumption that served as a key driver of Japan's economic growth in the second quarter.
"Exports aren't particularly strong in volume terms but will gradually recover ahead. The import figures, on the other hand, underscore the strength of domestic demand," said Takeshi Minami, chief economist at Norinchukin Research Institute.
"Domestic demand is gaining momentum and will likely drive Japan's economic recovery."
Exports to the United States rose 11.5 percent in July from a year earlier to mark the sixth straight month of gains, while those to Asia were up 14.8 percent, the data showed.
The trade surplus with the United States rose 9.1 percent to 647 billion yen ($5.88 billion).
Japan's trade surplus has been a target of criticism by U.S. President Donald Trump's administration, which has called for cutting the U.S. trade deficit under his protectionist "America First" policies.
Total exports increased 13.4 percent in July from a year earlier, Ministry of Finance data showed on Thursday, roughly in line with a median market forecast for a 13.6 percent gain.
The rise, which followed a 9.7 percent increase in June, was driven by solid auto shipments to the United States and demand from China for electrical equipment, the data showed.
But the gain in exports was more modest in volume terms at 2.6 percent, suggesting the value of exports was inflated by the yen's declines during the month.
Total imports were up 16.3 percent in July from a year earlier, roughly in line with a median market forecast for a 17.0 percent gain. It followed a 15.5 percent rise in June.
Shipments to China rose 17.6 percent, marking a ninth straight rising month.
Japan's economy expanded at the fastest pace in more than two years in the second quarter as consumer and company spending picked up, highlighting a long-awaited bounce in domestic demand.
Negative external demand, or exports minus imports, shaved off some growth in the quarter as shipments of information-technology goods to Asia slowed, though many analysts expect exports to remain firm in coming quarters.
(Reporting by Leika Kihara; Editing by Eric Meijer)