A novel full-digital integrator has been developed for the magnetic diagnostics in HL-2A. Based on the pipeline processing of the field-programmable gate array and high-speed PCI extensions for instrumentation platform, the digital integrator has realized octal-channel 10-kHz real-time integration and data transmission. In order to reduce the integration drift, a 24-bit analog-todigital converter and simple analog processing circuits are applied for high-precision sampling, while certain correction algorithms are used to minimize the drift. With simple and highly integrated circuits and high-performance digital processor, the digital integrator is of high stability and functional expansibility which greatly simplifies the operation procedure. The digital integrator has been tested in the plasma discharge experiments, and the experimental results have confirmed that the drift performance and accuracy of the digital integrator could fully meet the requirements of HL-2A.