The two creatures are alike in some ways, and they are related, but they also have important differences. An easy way to tell them apart is this: A crocodile — but not an alligator — has notches in its upper jaw. These let teeth in the lower jaw show, even when the mouth is shut. A crocodile has a longer, sharper snout than an alligator.