The presented invention consists of a method and device for universal filtering of digital signals. It represents a universal digital biquad and is a universal second-order digital filter. It is constructed from two active first-order digital filters, connected in such a way that one of them acts as part of the negative feedback loop of the other filter. The invention implements a biquadratic transfer function with an arbitrarily selectable quality factor and simultaneously generates the following signals: low-pass filtered output (Low-Pass Filter: LPF), high-pass filtered output (High-Pass Filter: HPF), band-pass filtered output (Band-Pass Filter: BPF), band-rejection filtered output (Band-Rejection Filter: BRF), and all-pass (phase) filtered output (All-Pass Filter: APF). The presented invention is applicable for simple and effective low-pass, high-pass, band-pass, band-rejection, and all-pass (phase) filtering of sampled signals, aiming to improve the signal-to-noise ratio in electronic devices with digital signal processing.