The utility model provides a valve replacing device which comprises a strip-shaped pipeline installed on the side edge of a valve body, the upper end of the strip-shaped pipeline is fixedly connected with a
gate valve installer, the upper end of the
gate valve installer is fixedly connected with a
balloon blocker, the inner end of the
balloon blocker is provided with a partition air bag, and the inner end of the partition air bag is fixedly connected with an air storage
balloon. According to the scheme, the partition air bag is filled with the air storage balloon, after the partition air bag is filled with
flame-retardant gas through the air inlet hose and the partition air bag penetrates into the strip-shaped pipeline to be inflated, the air outlet one-way valve can be opened through an external control terminal, and the
flame-retardant gas in the air storage balloon is gradually exhausted; the position area, close to the valve body, in the strip-shaped pipeline is full of
flame-retardant gas, the
oxygen concentration in the strip-shaped pipeline is reduced, the
occurrence probability of dangerous accidents is reduced, and the safety of the replacement, disassembly and
assembly process of the valve body outside the strip-shaped pipeline is guaranteed.