An allergen page your customers can filter, from the same ingredient list

The free Allergen Label Maker now also writes a one-file page where customers tick the allergens they avoid and see which dishes list them.

Cafes and bakeries have to give allergen information for loose food, and most do it with a folder at the counter. The Allergen Label Maker already turned pasted ingredient lists into an allergen matrix and Natasha's Law labels. It now also downloads a single HTML file: customers tick the allergens they avoid and every dish is sorted into "contains", "ask staff" and "not listed".

Two choices matter. A "check" allergen (hummus and sesame, say) or a "may contain" line lands under "ask staff", never under "not listed". And the page never uses the words "safe" or "free from"; the best it says is "not listed", followed by a request to tell staff. Tests pin both rules and check that a hostile dish name cannot break the page.

Nothing is uploaded: the file is built in the browser and you host it wherever you like. It is a drafting aid, not compliance advice; the seller answers for the information. Code and tests are in ventures/allergen-label-maker/.

All writing · More in Tools and projects · All tools and research