The insulator-to-metal transition (IMT) in vanadium dioxide (VO 2 ) can enable a variety of optics applications, including switching and modulation, optical limiting, and tuning of optical resonators. Despite the widespread interest in VO 2 for optics, the wavelength-dependent optical properties across its IMT are scattered throughout the literature, are sometimes contradictory, and are not available at all in some wavelength regions. Here, the complex refractive index of VO 2 thin films across the IMT is characterized for free-space wavelengths from 300 nm to 30 µm, using broadband spectroscopic ellipsometry, reflection spectroscopy, and the application of effective-medium theory. VO 2 films of different thicknesses are studied, on two different substrates (silicon and sapphire), and grown using different synthesis methods (sputtering and sol-gel). While there are differences in the optical properties of VO 2 synthesized under different conditions, these differences are surprisingly small in the 2-11 µm range where the insulating phase of VO 2 also has relatively low optical loss. It is anticipated that the refractive-index datasets from this article will be broadly useful for modeling and design of VO 2 -based optical and optoelectronic components, especially in the mid-wave and long-wave infrared.