Preheat the air fryer to 350℉. (Not all air fryers require this step.)
Cut the loaf of french bread into 6 equal pieces.
Spread a thin layer of pizza sauce over the top of each slice of bread.
Sprinkle the top of each piece with shredded mozzarella.
Then top with pepperoni (or your favorite toppings).
Place pizza in a single layer in the air fryer and cook for 5 to 8 minutes or until the bread is crispy and the cheese is melted.
Keep an eye on the pizza to make sure it doesn't burn because every air fryer is different and you may need to adjust the bake time slightly.
Notes
Store leftovers in an airtight container in the refrigerator for 2-3 days. To reheat leftovers, place them in the air fryer at 350 degrees and heat for 2-3 minutes.