Yes, small backpacks are allowed at the Louvre. The maximum size of the bags you can take inside is 55 x 35 x 20 cm (21 x 14 x 8 inches). However, bigger bags and backpacks may not be allowed inside some galleries, so you will have to use (free) lockers to stow your bags during your visit.