If the random password generator is offline, there is nothing bad to use it
This is not accurate. It is only completely safe to use an offline password generator if it is open source, you have reviewed the code yourself, and you have compiled it yourself.
A malicious password generator could give you one of a number of pre-generated paawords, which an attacker also has stored on their own device, giving them a very short list to brute force from.