They appeared in the books The Hobbit and The Lord of the Rings . Several important main characters in those books are hobbits , such as Bilbo Baggins and Frodo Baggins .
Hobbits first appeared in the novel , The Hobbit , in which the main protagonist , Bilbo Baggins , is the titular hobbit .