This phrase is used to indicate that someone knows something very well, as if they had learned it from a book. It implies deep knowledge or familiarity with a subject.
Examples
- Spanish: Juan se sabe todas las reglas del fútbol por libro.
- English: Juan knows all the rules of football by heart, as if he learned them from a book.