A designing tool for wideband transmission polarization converting surfaces is presented. The optimized wideband polarizer comprises several metasurface layers whose unit cell is gradually rotated. The analysis is based on an analytical transmission line model of the multilayer structure with anisotropic elements