by_heart
1. [ adverb ] by committing to memory
Synonyms: by_memory
Examples:

"she knew the poem by heart"