Photoshop slices divide a document into rectangular regions for separate image exports. They can be useful when you need several assets from one composition or are maintaining an existing sliced design. Slicing a whole mock-up is not a required step for every website: decide which image assets you actually need before creating the slice layout.
Create slices from guides
Use guides when the boundaries should follow a planned grid. Save a copy first: Slices from Guides replaces the document’s existing slices.
- Add horizontal and vertical guides at the required boundaries using View > Guides > New Guide, or drag guides from visible rulers.
- Select the Slice Tool.
- Choose Slices from Guides in the options bar.
- Inspect the resulting regions before exporting. Remove unnecessary divisions from your plan rather than accepting every small fragment as a useful asset.
Adobe’s slice creation guide covers guide-based, manually drawn and layer-based methods.
Create a slice from a layer
Select the relevant layer in the Layers panel, then choose Layer > New Layer-Based Slice. Its boundaries follow the layer’s pixel content and update when that content moves or changes.
Use this when the slice needs to track an individual asset. For a fixed export rectangle that should stay in place while the artwork changes, a user slice gives more direct boundary control. A layer-based slice must be converted to a user slice before you can edit its bounds independently.
Divide one slice into equal sections
- Select a user slice with the Slice Select Tool.
- Choose Divide in the options bar and enable Preview.
- To create five columns, use Divide Vertically Into and set the number of slices across to 5.
- Review the boundaries, then confirm.
You cannot divide a layer-based slice directly. Adobe’s slice management guide explains the restrictions and division controls.
For an easy practice exercise, use a 1000-pixel-wide user slice: five equal columns should each be 200 pixels wide. Inspect the exported files to confirm the dimensions instead of relying only on the on-canvas preview.
Understand user, layer-based and auto slices
- User slices are regions you define and edit.
- Layer-based slices track the content of a particular layer.
- Auto slices fill areas left uncovered by the other slices and change as the layout changes.
Solid borders identify user and layer-based slices; dotted borders identify auto slices. Adobe’s slice overview also explains the badges and automatically generated sub-slices that can appear where regions overlap.
Export and check the files
Use File > Export > Save for Web (Legacy) for this slice-export workflow. Review the image format and optimisation settings for the slices you intend to deliver, then check the slice selection in the save dialog. Export to a separate folder so that you can inspect the result without overwriting your source assets.
Check the number of files, pixel dimensions, naming, transparency and image quality. Unexpected extra files may be auto slices rather than the assets you intended. Open neighbouring pieces together and look for gaps or unwanted edges before handing them over. Keep the layered Photoshop document for future changes.
Build this skill: Photoshop asset preparation
Explore Academy Class Photoshop courses or discuss your image-export workflow with our team.