The first name Hedi is female and male.
Hedi is a short form of the Old High German name Hedwig. But it is as well of Hebrew and Old Greek origin and seldom a boy’s name (e.g. in Arabic: “El Hedi ben Salem”, a Moroccan actor).
Hedi means “warrior in the war” (from Germanic “hadu” =combat/battle + “wig” = war), “sweet” in Hebrew and Ancient Greek and “leader”, “guide” in Arabic.