We demonstrate an electrowetting based optical switch with tunable aperture. Under the influence of an electric field a non-transparent oil film can be replaced locally by a transparent water drop creating an aperture through which light can pass. Its diameter can be tuned between 0.2 and 1.2 mm by varying the driving voltage or frequency. The on and off response time of the switch is in the order of 2 and 120 ms respectively. Finally we demonstrate an array of switchable apertures that can be tuned independently or simultaneously.