Start by ricing your broccoli. If you're using fresh broccoli, chop it into small pieces and pulse it in a food processor until it resembles rice. If you're using frozen broccoli, simply thaw it and drain any excess moisture.
In a large mixing bowl, combine the riced broccoli, grated onion, minced garlic, shredded cheddar, shredded parmesan, egg, flour, salt, and pepper. Mix until everything is well incorporated.
Using a spoon or an ice cream scoop, portion out the mixture and shape it into small tot-shaped bites. Place them on the prepared baking sheet, leaving a little space between each one.
Preheat your oven to 400°F (200°C) and bake the Broccoli Tots for about 20-25 minutes, or until they are golden brown and crispy.
Once they are done baking, remove the tots from the oven and let them cool slightly before serving. Enjoy them warm with your favorite dipping sauce!