Wiktionary
know inside and out
vb. (context transitive idiomatic English) To know (something or someone) very thoroughly.
Usage examples of "know inside and out".
It's like watching a magician whose tricks you know inside and out and still being flummoxed by his sleight of hand.