This article will show you how to center an object in Photoshop on a Windows or Mac OS X computer.
Steps

Step 1. Open the image in Photoshop
The picture must have at least one object (for example, text) that can be centered.

Step 2. Click View
It's near the top of the window. A menu will open.

Step 3. Click on Snapping
This option is on the menu. A checkbox will appear on the left of the Snapping option - this means that the Snapping option is activated.
If this option is already checked, it is activated

Step 4. Select the layer to be centered
In the Layers panel, click on the layer you want to center. The layer will be displayed in the main window.

Step 5. Drag the layer to the center of the window
The layer should be positioned as close to the center of the window as possible.

Step 6. Release the mouse button
The object will be snapped to the center of the image.