A convertible cargo bed cover can function as both a tonneau cover and a cargo bed cap. The cover is raised by motorized elements to be substantially aligned with a roof of a passenger cabin of the vehicle. Side and rear window panels stored inside the cover can be installed to transform the cover to a cap to enlarge available enclosed cargo space. Rear pillars are installed at the rear corners of the tonneau cover in its raised position to complete the installation.