It is not advisable to convert a car charger to an AC charger as it may be unsafe and could damage your electrical devices. Car chargers are designed specifically to convert the DC power from a car's battery to a regulated DC voltage suitable for charging electronic devices, while AC chargers convert AC power from a wall outlet to the appropriate voltage and frequency for charging devices. Modifying a car charger to output AC power involves significant electrical expertise and knowledge of power electronics, and any mistakes can lead to electrical hazards.
If you need to charge your devices from an AC outlet, it is safer and more efficient to use a dedicated AC charger designed for the specific electronic device you want to charge. These chargers are readily available and come with built-in safety features to protect your devices from overcharging or voltage fluctuations.