Crocodiles and alligators are two separate species of reptile, although they are closely related and look quite similar.
There are a few differences between them but the easiest way to tell the difference is by looking at their snout. A crocodile’s snout is much narrower than an alligator’s.
A more in depth answer from Science Kids
A short video showing the differences.