how do I export geodatabase to shapefile in ArcGIS 10.7 to use on ArcGIS online?
You have to export the featureclasses in the gdb one at a time.
Feature Class To Shapefile—Conversion toolbox | Documentation