The invention discloses a novel pipeline gas-liquid separator. The separator is composed of a process pipeline as well as a fluid-stabilizing component, a swirling component, a separating component and a capturing component which are arranged in the pipeline, wherein the fluid-stabilizing component comprises a guider arranged at the front end of a guide blade and a fluid-stabilizing cone arranged at the rear end, and plays a role of stabilizing a fluid; the swirling component is a guide blade concentric with the pipeline, and forces the fluid to generate a centrifuging action; the separating component comprises a separating barrel body in a straight pipe section and a porous medium separating cone in a conical section, and can be used for achieving gas-liquid centrifuging separation; the capturing component comprises a front arch-shaped plate, a rear arch-shaped plate and a liquid-collecting tube arranged behind the arch-shaped plates, and can be used for achieving capturing of liquid drops; long-strip-shaped grooves are formed in the arch-shaped plates, the grooving directions in the front arch-shaped plate and the rear arch-shaped plate are staggered, and liquid-flowing grooves are formed in the lower part of the separating cone and the bottoms of the arch-shaped plates. Through the technical scheme, according to the pipeline gas-liquid separator disclosed by the invention, the centrifuging separation component and the mechanical capturing component are arranged in the pipeline, and thus the size of the separator is greatly reduced and the capturing efficiency is increased. Meanwhile, due to the staggered arrangement of the arch-shaped plates, the movement path of the fluid is lengthened, and the capturing probability of the liquid is increased.