The disclosure relates to building panels, such as floor panels, including a locking device. The locking device includes a protrusion and a groove configured to cooperate for vertical locking of a first edge portion of a first building panel to an adjacent second edge portion of a second building panel. The locking device further includes a separate tongue arranged in an insertion groove and a recess configured to cooperate for horizontal locking of the first and the second edge portions. The first and second edge portions are configured to be assembled by a relative essentially horizontal displacement and/or by angling. The insertion groove is provided vertically below at least one horizontal plane extending along a vertical locking surface provided in a third edge portion of the first building panel.