However, the Mac’s Dock allows the use of spacers, which are blank areas between Dock icons that you can use to better organize the Dock. The trick for creating these blank spacers using Terminal is well known, but you can also create custom icons to use as Dock spacers. Both methods of creating and using Dock spacers with your Mac are useful for grouping icons. You may want to group your work apps, media apps, browsers, or any other categories that work for you. Adding a visual space between each category makes the groups easy to locate at a glance.

Better Organization for the Dock

What the Dock needs are visual clues to help you organize and find Dock icons. The Dock already has one organizational clue: the vertical-line separator located between the right and left sides of the Dock. The larger left side holds applications and system items, while the smaller right side is home to the Trash, minimized windows, documents and folders. If you have a lot of icons on the Dock, it could probably benefit from additional separators. A blank icon that is added to the Dock acts as a spacer. The icon adds a gap between two Dock icons of your choice, providing a simple visual cue that can save you time and aggravation. There are two different Terminal commands for creating Dock spacers: one for the left application side and one for the right document side. After you add a spacer, you can rearrange it, just like any other Dock icon, but you can’t move it past the vertical line separator.

Use Terminal to Add a Spacer to the Application Side of Your Dock

Typically, it is the App side of the Dock that benefits from spacers because it holds the most icons. Making spacers is easy using a Terminal command. Repeat this process for as many blank spaces as you need to group the app icons for easy use. After you make a spacer, drag it anywhere on the Dock, just like any icon. Use multiple spacers to group apps to make them easy to find. When you no longer want a spacer, drag it off the Dock or right-click the spacer and click Remove from Dock.

Use Terminal to Add a Spacer to the Document Side of the Dock

Although not as common, dock spacers can be added to the document side of the Dock. You can drag the spacer anywhere on the right of the divider line. Remove it by dragging it off the Dock or by right-clicking the spacer and selecting Remove from Dock.

Custom Dock Spacer Overview

If a blank spacer isn’t what you were looking for, you can create a custom Dock Spacer or download an icon you found that you want to use. Once you have an icon you want to use as a Dock spacer, pick an app to function as a host for your new icon. After you install the new icon in the host app, you drag the host app to the Dock to make use of it as a custom spacer. Remember, you’re not using this app as it was initially intended, but only for its ability to act as a host for the custom icon you want to have appear in the Dock as a spacer.

What’s Needed

Start by selecting an app. It can be one you already have installed on your Mac and never use, or you can download one of the many free apps available in the Mac App Store. After you select the app to serve as the host for your custom spacer, rename it Dock Spacer or something similar so that you know what it’s being used for. You also need a custom icon to use. This icon replaces the host app’s standard icon and appears in the Dock when you drag the host app to the Dock. The icon you use must be in the .icns format, which is the icon format used by Mac apps. If it isn’t already in .icns format, use one of the free online converters to convert your file to the .icns format. There are sources for Mac icons if you don’t want to create your own, including DeviantArt and the IconFactory. When you locate an icon you want to use, download the icon and then prepare it for its new job.

Preparing the Custom Icon

Locate the icon you downloaded on your Mac (or created) and confirm that it’s in the .icns format. In the Finder, it should show up as the icon name with .icns appended to it. If the Finder is set to hide file extensions, you can see the full file name by right-clicking on the icon file and selecting Get Info from the pop-up menu. The file name with extension is displayed in the Get Info window. With the icon file confirmed as having the .icns extension, rename the icon file to Icon.icns.

Insert the Custom Icon in the Host App

Add the Modified Dock Spacer App to the Dock

Go to the Applications folder and drag the Dock Spacer app to the Dock. Drag the custom Dock spacer wherever you want to position it on the Dock. To remove the spacer, drag it off the Dock or right-click it and select Remove from Dock.