Is August really that hot?

Hello, I’m planning to visit Tokyo this year in August, but a lot of people told me that it’s crazy going there that month because of the extreme temperatures. Is that true? Seeing on the internet, I can see that the temperatures aren’t that high. For context, last year I visited Vietnam and the south had extreme conditions like 40º+ degrees.

Thank you