I don't have a solution for myself, and I've tried just about everything, but here are some tips I've gathered in my time dealing with it and from other people:
The biggest one is probably to identify the cause, if it's emotional, but insulin resistance is a relatively common cause for insatiable hunger and thus bingeing. I only bring this up because mine is influenced by the latter.
If you can't control the binge, choosing lower calorie or at least "healthier" foods is a good way to minimize harm. Fruit is definitely better than other stuff.
-Sleep earlier if you're a night eater.
-Brushing your teeth instead so there's less incentive to eat and undo that, I guess?
-Distraction is hard, but a pretty good one when it works.
-Eating at maintenance instead of focusing on weight loss if that's an issue, and eating nutritious meals would help with sugar cravings eventually. Even just taking foods you like and finding a way to work vegetables in or as a side is a start, but I'm terrible at suggestions because my diet is chronically fucked.
-Keeping trigger foods out of the house
-Making a list of the benefits of not bingeing vs giving in
-Drink something flavored or chew gum
-gEt tHeRaPy
I've also heard that Vyvanse is approved to treat BED, at least in the US. Might be more effective than these.
Mostly useless tips, perhaps you've already heard them, but hopefully you can get something out of this. Either way I hear you and binge eating is a hell I wish on no one.