What To Eat
Free online what to eat tool, no installation required
About What to Eat
A simple decision helper that picks one food option at random from a list you maintain. Add or remove items (the tool ships with Pizza, Burger, Sushi, and Pasta as defaults), then click Pick to get a single random selection shown in bold. Your list is saved locally in the browser's IndexedDB storage (key "what-to-eat") so it persists across reloads.
How to Use
1. Type a food name in the input at the top and press Enter or click Add — duplicates are silently ignored. 2. Remove an item by clicking its pill (each pill has an X icon and a tooltip explaining the click-to-remove behavior). 3. Click the large Pick button to choose one item uniformly at random from your current list — the result appears below the button in bold text. 4. Click Pick again any time for a new roll; the list itself is unchanged.
Selection Logic and Persistence
Selection uses a uniform random pick: items[Math.floor(Math.random() * items.length)], so every item has equal probability regardless of position. Adding an item persists the new list to IndexedDB via the project's setToolData helper; removing an item does the same and also clears the currently displayed selection if it was the removed item. On load, the tool reads any saved list from storage and replaces the defaults if a non-empty saved list exists — otherwise it falls back to the four default items.
▶Are all items equally likely to be picked?
▶Can the same item appear twice in the list?
▶What happens to my list when I reload the page?
▶Is my data sent to a server?
If this tool has been helpful to you, consider buying me a coffee.
Buy me a coffee