To make these Amish Sand Tarts gluten-free, replace the all-purpose flour with a gluten-free 1:1 baking flour blend. Ensure that the blend contains xanthan gum or a similar binder for the best texture. Additionally, confirm that your cinnamon and other ingredients are certified gluten-free.