Detailed Analysis
Crab is halal according to the Shafi'i, Maliki, and Hanbali schools. The traditional Hanafi position considers crab makruh (disliked) or haram as it is not a fish.
Some modern Hanafi scholars have permitted it. Follow your school of thought.