A novel closed-loop switched-capacitor (SC) capacitance-to-frequency converter (CFC) is presented in this paper. The proposed CFC is capable of measuring from either a single-element or a differential capacitive sensor, providing ratio and ratio-metric outputs, respectively. Most of the existing autobalancing schemes for capacitive sensors use the closed-loop approach but require precise sinusoidal AC excitation and provide an analog output that is sensitive to parasitic capacitances. Also, the use of voltage-controlled resistors (VCR) in many of these schemes limits the linearity and accuracy of their output. The SC-CFC presented in this paper, employs a simple DC reference for excitation, and gives a digital output that is insensitive to parasitic capacitances, by virtue of design. Additionally, the output is linear, irrespective of the sensor characteristic, and independent of the nominal value of the sensor. This feature, along with its compatibility with singleelement and differential capacitive sensors, facilitates its ease of integration with a wide range of capacitive sensors. The CFC has a one-time correction mechanism that significantly reduces the impact of component mismatch. The prototype of the proposed scheme exhibits a maximum non-linearity error (NLE) of 0.24%, a resolution of 12.59 effective number of bits (ENOB), and a rise time of 6 ms. In addition, the proffered design is fit for integrated circuit (IC) fabrication as it employs a switched-capacitor approach.