Abstract The encoding metasurface establishes a bridge between the physical and digital worlds, ushering in a new era of manipulating electromagnetic waves and realizing programmable metamaterials through digital coding sequences. This "digital metasurface," relying on binary logic, significantly simplifies the design process, thereby enhancing the flexibility and efficiency of controlling electromagnetic waves. While most encoding metasurfaces control beamforming for pencil-shaped beams, we propose a 3-bit encoding metasurface with a "well structure" in the microwave band.The 3-bit encoding metasurface features a more extensive encoding sequence, offering increased degrees of freedom and flexibility in manipulating the direction of electromagnetic wave propagation. Its symmetric design features polarization-insensitive characteristics, suitable for generating annular beams by varying gradient-encoded numbers radially. This approach enables the production of linearly polarized omnidirectional radiation within the desired elevation angle range. Additionally, adjustments in quantity and orientation of the produced annular beams are achieved through Fourier convolution theorem. This type of annular beams holds promise for applications in various fields, including wireless radio broadcasting and wireless local area networks.