learn something by heart : Idioms in English

learn something by heart

To memorize something
Usage:
After singing it every morning for a month, Kim had learned the National Anthem by heart.
Lightning fast vocabulary building for SAT, ACT, GRE, GMAT and CAT