Boudevilliers is a former municipality in the district of Val-de-Ruz in the canton of Neuchâtel in Switzerland.