The World number one beat Croatian Donna Vekic 6-3 4-6 7-6 (7-4) at the Porsche Tennis Grand Prix.
Osaka will now face Anett Kontaveit, who was able to progress after Victoria Azarenka retired.
Petra Kvitova will face Kiki Bertens in the other semi-final.

Gadecki, Peers win Australian Open mixed doubles title
De Kock demolition leads S Africa to T20 series win over West Indies
Lyon top Europa League standings, Roma through to last eight
World Cup winner, Olympic champion Dunn announces retirement
Pakistan win after all-rounder Ayub sinks Australia