From Middle High German kobe (“shed, hut”) + *holt (“goblin”), from hold (“friendly, gracious”), euphemistic term for mischievous beings.
Kobold m (genitive Kobolds, plural Kobolde)