Gelatin vs Agar: Choose a Recipe for the Gelling Agent
Gelatin and agar are different gelling agents. Gelatin comes from animal collagen; agar comes from algae. Both can help set desserts, but replacing one with the other can change preparation and the finished texture.

Identify the exact form
Gelatin is sold in powder and sheets; agar commonly comes in powder or flakes. Check which form the recipe names. A spoonful of flakes and a spoonful of powder are not automatically equivalent amounts.
Follow the preparation sequence
King Arthur’s guide describes hydrating gelatin in cold water before incorporating it. Agar needs its own preparation instructions. Do not assume that sprinkling either ingredient into a finished mixture will produce an even set.
Use a tested substitution
A panna cotta, mousse and marshmallow have different structural needs. Success in one dessert does not establish a universal conversion for another. Choose a recipe developed for the agent you have, including its heating and cooling steps.
Check the whole ingredient list
If making a vegetarian dessert, changing gelatin is only one check. Review the rest of the recipe and the gelling product’s label. Save the brand and form used so a successful result is easier to repeat.