Japan's exports extended double-digit gains for a third straight month in April, but surging global commodity costs inflated the country's import bill to a record, adding to worries about the rising cost of living.

Shoring up the prospects of a private demand-led recovery, however, was a gauge of capital expenditure that posted its first monthly gain in three months.

The mixed data on Thursday followed the yen's falls to two-decade lows beyond ¥131 to the dollar earlier in May, which stoked fears of worsening terms of trade and added financial burdens for the resource-poor Japanese economy as import costs soar.