Pipeline demagnetizers are special devices made to neutralize magnetic fields which would cause arc blow, prior to or during the welding process.
Please note, if you need the pipe to be fully demagnetized, you will need a High Power Demagnetizer (see link).