I've gone through several rounds of this. The short version: donation is useful, but only if you sort first.
Clean, sturdy totes without peeling interior coating are usually welcome at food pantries and community fridges. They often need them for distributing loose produce, pantry staples, or a few canned goods. But call or message first. Many small operations have limited storage and can't take thirty at once. Libraries sometimes keep a few at the front desk for patrons with an unexpected pile of books, though I'd ask before dropping off a bag of bags.
The thin, shiny conference totes are another story. They tear after two uses and volunteers usually end up throwing them away, so by donating them you're just moving the trash problem. Those I either cut up for wrapping or use as garbage liners in the bathroom.
My own system is three deep: one in each suitcase for shoes or laundry, one by the door for groceries, and one in the office drawer for the random 'I ended up at the store' moment. Everything else goes to a church clothing room, but only after I've checked for mildew and peeled logos. If it's a real estate tote with a broker's name on it, that's not a donation, that's just marketing.