Hey guys id like to convert a charger brick to reverse the volts so invert it what. i mean is in my country its 220v so the charger brick must be able to take 5v and convert it into the said 220v now all .i need it for is a fun usb killer project i bought a fly zapper but its not enough volts so what componets would i need to turn or modify . Ive tried to just put 5v into the usb port but nothing on the 220v side
Switched mode power supplies used in phone chargers are one-way, non-reversible devices.
Figure 1. Not all processes are reversible. Pushing minced meat into the outlet of the mincer and turning the handle backwards will not produce a steak. Image source: SousChef.
See How does a cell phone charger work? to understand why your scheme won't work.
now all .i need it for is a fun usb killer (sic)
I didn't understand this bit at first but it seems from the comments that you wish to create a device to destroy USB ports. I hope nobody here will assist you in this childish stupidity.
Shop, buy, open-up, test, break, fix, capiche? That's how I learnt as a kid, by fixing things. But at some time you must learn to read a lot.