For the working of the transformer there has to be alternating current, only then an emf is induced and the transformer can step up or step down the voltage.
So it can be said that input given to it is AC and the output obtained is also AC. DC never plays a role in case of transformers.
Hence. Transformers do not convert AC to DC