The invention provides a shape detection device and method based on a spiral FBG (fiber bragg grating) sensor array, and the device comprises the spiral FBG sensor array, an FBG demodulator, data collection and shape reconstruction equipment, and display equipment. The device does not need other peripheral auxiliary equipment, is not affected by electromagnetic interference, is good in medical compatibility, does not emit rays, and can achieve the long-distance remote monitoring. Through the spiral configuration of the FBG sensor array, the device can achieve the multi-point deformation detection of a single optical fiber, and forms a quasi-distributed detection system. Through the packaging of the optical fiber on a nickel-titanium alloy filament, the device protects a grating point from being worn, is strong in anti-interference capability, and enlarges the detection range. The device can obtain the shape of a flexible robot in real time, and is high in real-time response. Meanwhile, the device detects the curvature and torsion, is simple in detection method, can be used for the shape sensing detection in a gastroscope, colonoscope and a flexible/soft robot, and plays an important role in the flexible robots in the fields of dibaster assistance, medical rehabilitation and national defense security.