Image to Layers

How to Separate an Image into Layers: Photoshop vs AI

Separate an image into layers by hand in Photoshop (select, Layer Via Cut, fill) or with AI: steps, time, skill and what happens behind each object.

On this page8 sections
Short answer

There are two real ways to separate a flat image into layers. The manual route gives you full control and costs only your time; the AI route is faster on images with many elements, and is honest only if you know which pixels it drew.

By hand in Photoshopselect each object, move it to its own layer with Layer Via Cut, and fill the hole it leaves with Content-Aware Fill or Generative Fill.
With an AI layer toolupload once, get every element back as a named transparent layer over a filled background, including the parts that were hidden behind other objects.

What does “separating into layers” actually involve?

A JPG or PNG is one flat grid of pixels; nothing in it says where the laptop ends and the desk begins. Separating it means three jobs, whichever route you take:

1Cut out each elementalong its edge, as a transparent layer.
2Fill the backgroundwhere each element used to be, so moving or deleting it leaves no hole.
3Complete covered objectsif a cat sleeps in front of a stack of books, the books layer is missing the part the cat covered.

Most quick guides stop at the first job. The second and third are what decide whether the layered file is usable.

The example: a desk illustration with overlapping objects

A flat illustration of a desk: an open laptop, a teal lamp, a monstera plant, a mug with hearts, a sleeping orange cat and a stack of books
A real sample split, shown on the desk example page. Two objects are partly hidden: the coffee mug covers a corner of the laptop, and the sleeping cat covers the front of the stack of books.

1Separate layers by hand in Photoshop

These steps use tools documented in the Adobe Help Center. Menu names can shift between versions, so check your own menus if one does not match.

  1. Convert the Background layerDouble-click the Background layer to turn it into a normal layer, which can hold transparency. Keep a hidden copy of the original as a reference.
  2. Select the front object firstStart with whatever is on top, here the cat and the mug. The Object Selection tool highlights an object as you hover over it, and a click selects it; Select Subject picks the most prominent subject in one click.
  3. Refine the edgeZoom in and fix the outline with Select and Mask, or by adding to and subtracting from the selection. Fur, leaves and soft shadows take the longest.
  4. Move it to its own layerChoose Layer > New > Layer Via Cut. The selection moves to a new layer and leaves a transparent hole in the original (Adobe: create layers). Name the new layer.
  5. Fill the holeCtrl-click (Cmd-click on a Mac) the new layer’s thumbnail to load its outline, expand it by a few pixels with Select > Modify > Expand, select the original layer and choose Edit > Content-Aware Fill (Adobe: Content-Aware Fill settings) or Generative Fill.
  6. Repeat for each object, front to backOnce the cat is lifted, the books underneath can be selected whole, but the part the cat covered is missing.
  7. Complete the hidden partsSlowest stepOn the books layer, paint, clone or generate the missing front of the books, and do the same for the laptop corner behind the mug. This is retouching, not selecting.
  8. Save as PSDKeep the layers named; a stack of “Layer 1” to “Layer 9” is hard to use later.
Good at
  • You decide every edge, every fill and every guess.
  • Nothing leaves your machine.
  • Fine for a two-object product shot.
Where it gets slow
  • Each object adds a selection, an edge cleanup and a fill.
  • Every hidden part is drawn by hand.
  • On a banner with many elements, the work adds up quickly.

GIMP can do the same job with its selection tools and layers; there, the holes are filled with the Heal and Clone tools.

2Separate layers with AI

An AI layer tool does the same three jobs in one run. LayerSplit, for example, works like this:

  1. UploadPNG, JPG or WebP, up to 20 MB.
  2. SplitFront elements first, so the ones behind come back whole.
  3. CheckHide any layer to see what is behind it.
  4. DownloadOne layer as PNG, all layers as a ZIP, or a layered PSD.

For the desk, the split returned six named layers plus the filled background:

Potted Monstera Plant
Potted Monstera Plantobject layer
Teal Desk Lamp
Teal Desk Lampobject layer
Sleeping Orange Cat
Sleeping Orange Catobject layer
Coffee Mug with Hearts
Coffee Mug with Heartsobject layer
Open Laptop
Open Laptopcorner restored behind the mug
Stack of Books
Stack of Booksfront restored behind the cat
Background
Backgroundfilled in, free
OriginalOriginal
Cat and mug hiddenCat and mug hidden
The laptop’s front corner and the front of the books are there, although the original image never showed them.
2,048 × 1,536source size
6 layersplus free background
~1 mintypical run time
60 credits6 layers, about $0.66

Not every AI layer route works the same way. An open image model that returns layers, which we tested on our own samples, outputs 512 to 640 px whatever the input size, gives no layer names, and treats the number of layers as a request rather than a guarantee. Check the output size, the names and the hidden parts before you pick a tool.

Photoshop vs AI: side by side

By hand in Photoshop AI layer split
Time Grows with every object, every soft edge and every hidden part Usually about a minute
Skill needed Selections, edge refinement and retouching None to start; you check the result
Area behind each object You fill each hole with Content-Aware Fill or Generative Fill Filled in once for the whole image
Hidden parts of objects You paint, clone or generate them per layer Completed by AI (layers are AI-redrawn)
Layer names You name them Named by content (for example “Open Laptop”)
Output size Your original size Up to 2,560 px on the long side
Control Every edge and fill is your decision You fix what you do not like afterwards, in an editor
Cost Your Photoshop plan and your time 10 credits a layer; background free

Which route should you choose?

Choose Photoshop by hand when
  • The image has one or two subjects
  • You need print resolution above 2,560 px
  • Delicate edges (hair, glass, smoke) must be perfect
  • The file cannot leave your computer
Choose an AI split when
  • The image has many elements and objects overlap
  • You need every text block and graphic as its own layer
  • You want a starting PSD to refine rather than build from zero

The two combine well: split with AI, then open the PSD in Photoshop to retouch the one edge or fill that needs a human eye.

Limits of the AI route

Typical timing: usually about a minute per split, up to 2 with many layers.
Shadows: strong cast shadows can stay in the background or come back as their own layer.
Glows: glowing outlines keep a faint halo.
White on white: a white die-cut border on a white background can come back with a slightly uneven edge.
Busy photos: busy real-world photos split less cleanly than designed images such as illustrations, banners and posters.
Text: text comes back as an image layer by default.
Characters: it does not split a character into rigging parts (eyes, mouth, hair) for Live2D or Spine.
Try it on your own image

Upload an illustration, banner or product shot and hide the front layers to check what was restored behind them. Sign in with Google for 10 free credits, enough for One element, and check in daily for more, no card needed.

Split an image ->

FAQ

How do I separate layers in Photoshop?

Select an object with the Object Selection tool or Select Subject, then choose Layer > New > Layer Via Cut to move it to its own layer. Fill the hole it leaves with Edit > Content-Aware Fill or Generative Fill, and repeat for each object from front to back. Parts of objects that were hidden behind others have to be painted or generated by hand.

How do I separate an image into layers without Photoshop?

Use GIMP’s selection tools and layers for the manual route, or an AI tool that splits the image for you and exports a layered PSD. The PSD can then be opened in Photoshop or in a free editor that reads PSD files, such as Photopea.

Can AI split an image into layers?

Yes. An AI layer tool finds each element, cuts it out as a transparent layer and fills in the background behind it. Check whether it restores parts hidden behind other objects, how large the output is, and whether the layers are named.

What happens to the area behind an object when I separate it?

In a flat image nothing was stored there, so it has to be filled. In Photoshop you fill it with Content-Aware Fill or Generative Fill; an AI split fills the whole background once. Either way, that area is a reconstruction, not the original scene.

Can I split an image into equal parts instead?

Yes, but that is a different job: cutting the picture into a grid of tiles, for example for a social media grid. Separating into layers keeps the full canvas and gives each object its own layer.

Is the layered result good enough for print?

That depends on size. The AI route outputs up to 2,560 px on the long side, which suits screens and small prints; for large print work, separate the full-resolution original by hand.