We consider an antisymmetric gauge field in the Minkowski space of d-dimension and decompose it in terms of the antisymmetric tensor harmonics and fix the gauge. The Gauss law implies that the normal component of the field strength on the spherical entangling surface will label the superselection sectors. From the two-point function of the field strength on the sphere, we evaluate the logarithmic divergent term of the entanglement entropy of edge modes of p-form field. We observe that the logarithmic divergent term in entanglement entropy of edge modes coincides with the edge partition function of co-exact p-form on the sphere when expressed in terms of the Harish-Chandra characters. We also develop a boundary path integral of the antisymmetric p-form gauge field. From the boundary path integral, we show that the edge mode partition function corresponds to the co-exact (p − 1)-forms on the boundary. This boundary path integral agrees with the direct evaluation of the entanglement entropy of edge modes extracted from the two-point function of the normal component of the field strength on the entangling surface.