By manipulating the interactions between individual atoms, scientists report they have created a device that can pack hundreds of times more information per square inch than the best currently available data-storage technologies.

The working prototype is part of a decades-long attempt to shrink electronics down to the atomic level, a feat scientists believe would allow them to store information much more efficiently, in less space and more cheaply. By comparison, tech companies today build warehouse-sized data centers to store...