What is the best substitute you are likely to have if supposed use a mortar and pestle on an onion?

A food processor or blender

A food processor or blender can easily chop an onion into small pieces, just like a mortar and pestle can. Simply place the onion in the food processor or blender and pulse until it reaches the desired consistency. Be sure to use the pulse setting to avoid over-processing the onion.