We describe the characterization of single nanoparticles based on the measurement of their rotational and oscillatory motion when optically levitated within vacuum. Using colloidally grown yttrium lithium fluoride nanocrystals of different sizes, trapped in a single-beam optical tweezer, we demonstrate the utility of this method which is in good agreement with simulations of the dynamics. Size differences as small as a few nanometers could be resolved using this technique offering a new optical spectroscopic tool for non-contact characterization of single nanoparticles in the absence of a substrate