Des Knaben Wunderhorn: Alte deutsche Lieder (German; "The boy's magic horn: old German songs") is a collection of German folk poems and songs edited by Achim von Arnim and Clemens Brentano, and published in Heidelberg, Baden. The book was published in three editions: the first in 1805 followed by two more volumes in 1808.
The collection of love, soldier's, wandering and children's songs was an important source of idealized folklore in the Romantic nationalism of the 19th century. Des Knaben Wunderhorn became widely popular across the German-speaking world; Goethe, one of the most influential writers of the time, declared that Des Knaben Wunderhorn "has its place in every household".
Arnim and Brentano, like other early 19th-century song collectors, such as the Englishman Thomas Percy, freely modified the poems in their collection. The editors, both poets themselves, invented some of their own poems. Some poems were modified to fit poetic meter, to conform to then-modern German spelling, or otherwise to conform more closely to an idealized, Romantic "folk style" (Naturpoesie). A 20th-century critical edition by Heinz Rölleke describes the origin of each poem in the collection. Brentano was motivated more by writing his own material than by a strict preservation of the original folk songs.
The young proponents of Romanticism, strongly taken by national sentiments, devoted themselves to the collection and study of the origins of Germanic history in folk songs, fairy-tales, myths, sagas (Nibelung), and Germanic literature. Everything untouched by the negative effects of modern civilization in their eyes, was considered good and helpful for the "Gesundung der Nation" (Recovery of the nation). It was under Brentano's direction that the Brothers Grimm began collecting their fairytales.