The central nitrogen atom in the azide ion has a formal charge of +1. The other nitrogen atoms have a formal charge of -1.
The resonance structure of azide ion and hydrazoic acid is shown in the image attached to this answer. We can see that the central nitrogen atom in the azide ion has a formal charge of +1. The other nitrogen atoms have a formal charge of -1.
In hydrazoic acid, hydrogen is attached to one of the end nitrogen atoms while the other nitrogen atoms have a formal of +1 and -1 respectively.
Learn more: