From the given name Zanni, a Venetan form of Gianni. This is also the name of a broad character archetype of commedia dell’arte, covering a wide range of servant and trickster characters; in some cases, the surname could have originated as a nickname based on this archetype.