How to Adjust Icon Spacing in the macOS Menu Bar
Out of the box, the macOS Menu Bar doesn't offer many options for arranging icons conveniently. Fortunately, there are various applications that can help with this.
One such app is Menu Bar Spacing, which allows you to set custom distances between the icons in the Menu Bar.
Before using the utility, I recommend saving all data from the applications in the Menu Bar, as changing the spacing will cause these applications to restart.