RandomBasis

Produce to draw

Random Fruit and Vegetable Generator

Draw a random fruit, vegetable or herb - labelled, and filterable by group.

Runs locally in your browser. Nothing you generate is ever sent to a server.

Press "Generate" to see a result here.

Group

About this random fruit and vegetable generator

Press Generate and a fruit, vegetable or herb comes up, labelled so you know which it is. The list covers everyday produce rather than rarities, which is what makes it useful for lessons, shopping and games.

Fruit, vegetables and herbs

The three groups are kept separate because they are used differently. Filter to fruit for a healthy eating lesson, to vegetables for a cooking prompt, or to herbs when the question is what to add rather than what to cook. Leaving the filter open mixes all three, which suits vocabulary practice.

The tomato question

Botanically a tomato is a fruit, and so are cucumbers, peppers and pumpkins. In cooking they behave as vegetables, and that is how they are listed here. This is worth raising with a class rather than hiding: the fact that two correct answers can disagree is a better lesson than either answer alone.

Using it with children

Random produce works well for sorting games, vocabulary drills and healthy eating activities. Drawing five items and asking which meal they could make together turns a naming exercise into a thinking one.

Common uses

How the randomness works

The list is filtered to the group you chose, then an item is drawn using your browser's cryptographic random source with rejection sampling, so nothing is favoured. Batches without repeats use a Fisher-Yates shuffle driven by the same source.

How do I generate a random fruit?

Choose Fruit in the filter and press Generate. One fruit comes up, labelled so there is no confusion.

Can I get vegetables or herbs instead?

Yes. The filter switches between fruit, vegetables and herbs, or leave it on any to mix all three.

Is a tomato a fruit or a vegetable?

Botanically a fruit, but it is used as a vegetable in cooking, so it is listed as a vegetable here - which is how most people looking for it will expect to find it.

Can I get a list for a shopping trip?

Yes. Set the quantity and press once, then Copy All to take the list, one item per line.

Is this useful for teaching children?

Yes. Drawing produce at random works well for vocabulary, sorting exercises and healthy eating lessons.

Is the pick actually random?

Yes. Each item is drawn with your browser's cryptographic random source, so everything in the chosen group has an equal chance.