Photovoltaic cells are deployed widely, mostly as flat panels, whereas solar thermal electricity generation relying on optical concentrators and mechanical heat engines is only seen in large-scale power plants. Here we demonstrate a promising flat-panel solar thermal to electric power conversion technology based on the Seebeck effect and high thermal concentration, thus enabling wider applications. The developed solar thermoelectric generators (STEGs) achieved a peak efficiency of 4.6% under AM1.5G (1 kW m−2) conditions. The efficiency is 7–8 times higher than the previously reported best value for a flat-panel STEG, and is enabled by the use of high-performance nanostructured thermoelectric materials and spectrally-selective solar absorbers in an innovative design that exploits high thermal concentration in an evacuated environment. Our work opens up a promising new approach which has the potential to achieve cost-effective conversion of solar energy into electricity.