A core chip of optofluidic variable optical attenuator (VOA) is reported. The chip, with a simple structure, utilizes microfluid and compressed air to regulate the optical attenuation, and it can be expanded to form a number of VOAs by using different microfluidic driving technologies. Three VOAs based on this chip and different driving technologies are introduced. The theoretical and experimental results show that the proposed chip possesses the advantages of large optical attenuation range (> 50dB) and low insertion loss (0.55 dB). Moreover it is a broadband optical device which can be operated in visible and near infrared wavelengths. The proposed chip provides a new method for seeking miniaturized VOAs with good performances, and it is promising to develop a number of different VOAs.