you can't judge a book by its cover
Definition from Wiktionary, the free dictionary
Alternative forms 
- you can’t tell a book by its cover
- don’t judge a book by its cover
- It is not possible to make reliable judgments about things or people by considering external appearances alone.
it is not possible to judge things by external appearances alone