Circa 1200 CE, Krabi was tributary to the Kingdom of Ligor, a city on the Kra Peninsula's east coast, better known today as Nakhon Si Thammarat.
It is believed the town may have taken its name from the word "krabi", which means "sword".