To make this recipe gluten-free, substitute the all-purpose flour with a certified gluten-free flour blend that includes xanthan gum for structure. Ensure the baking soda, chocolate chips, and other mix-ins are certified gluten-free, as some brands may contain traces of gluten.