Key lime bars are made in a square or rectangular baking dish and cut into individual bars, while key lime pie is traditionally served in a pie crust and sliced into wedges. The ingredients and flavors are similar, with both desserts featuring a tangy lime filling made with key lime juice, sweetened condensed milk, and eggs.