Developing high-capacity anodes is a must to improve the energy density of lithium batteries for electric vehicle applications. Alloy anodes are one promising option, but without pre-stored lithium, the overall energy density is limited by the low-capacity lithium metal oxide cathodes. Recently, lithium metal has been revived as a high-capacity anode, but faces several challenges owing to its high reactivity and uncontrolled dendrite growth. Here, we show a series of Li-containing foils inheriting the desirable properties of alloy anodes and pure metal anodes. They consist of densely packed Li xM (M = Si, Sn, or Al) nanoparticles encapsulated by large graphene sheets. With the protection of graphene sheets, the large and freestanding Li xM/graphene foils are stable in different air conditions. With fully expanded Li xSi confined in the highly conductive and chemically stable graphene matrix, this LixSi/graphene foil maintains a stable structure and cyclability in half cells (400 cycles with 98% capacity retention). As a result, this foil is also paired with high-capacity Li-free V 2O 5 and sulfur cathodes to achieve stable full-cell cycling.