How Do You Become a Crab in Free Realms?

Head to the coin shop and look for an item called Crab Cakes. Buy one and use it, and your character transforms.

That is the whole process, and it is a cosmetic change rather than a new class or a permanent form. The effect lasts a while and then wears off, so buy a few if you want to stay a crab for longer.

Items in the coin shop rotate, so if you cannot find it, check back later or look through the seasonal stock. The shop changes its inventory more often than players expect.