How to Separate an Image Into Layers
Wondering how to separate an image into layers? A flat JPG or PNG has no hidden layers waiting to be unlocked, so you have to rebuild them: select each part, move it to its own layer and fill the gap it leaves behind. This guide shows how to do that by hand in Photoshop, Illustrator and Canva, and how to let AI do it for you in one step.
Short answer: in Photoshop, select an object and press Ctrl+J (Cmd+J on Mac) to copy it to a new layer, then repeat for every element. In Canva Pro, use Magic Layers. If you want every element on its own layer and a layered PSD without manual selections, upload the image to PhotoToLayers.
Why a Flat Image Has No Layers to Separate
Layers only exist while a design is open in an editor. When it is saved as a JPG or PNG, every layer is merged into one grid of pixels, and the file keeps no record of where one object ended and another began. That is why there is no unflatten button in Photoshop: once a flattened file is saved and closed, the layers are gone.






Separating the image means creating new layers from what you can see. Two problems come with it. First, every object needs a clean edge, which is hard around hair, glass and soft shadows. Second, the background behind each object was never stored, so after you lift an object out you have to paint or generate the missing area. That is the honest answer to how to separate an image into layers: you rebuild them from the pixels you have.
When You Need to Turn a One-Layer Image Into Multiple Layers
Knowing how to turn an image into layers pays off in a few common situations, especially when the layered source file is not available.
The original design file is lost
A client sends only the final PNG of an ad, or an old PSD can no longer be found. Separating the image into layers lets you move the product, swap the background or resize the layout without starting again.
You want to edit an AI-generated image
Images from ChatGPT, Midjourney or Gemini arrive as one flat picture. Splitting the subject, props and background onto separate layers lets you change one element instead of regenerating the whole image.
You are preparing assets for motion or new formats
Parallax animations, social stories and banner sets all need the foreground, middle ground and background as separate pieces that can move or be rearranged independently.
How to Separate an Image Into Layers in Photoshop
Photoshop has no single split command, but its selection tools give you the most control. Here is how to separate an image into layers in Photoshop step by step; it works in recent versions on Windows and Mac.
- Open the image and duplicate the locked Background layer with Ctrl+J (Cmd+J), so the original stays untouched.
- Select the first object with Select > Subject, the Object Selection tool or the Quick Selection tool. Use Select and Mask to refine edges around hair or fur.
- Choose Layer > New > Layer via Copy (Ctrl+J) to copy the selection to its own layer, or Layer via Cut (Shift+Ctrl+J) to move it out of the source layer.
- Repeat for every element you want to keep separate, and give each layer a clear name such as Product, Headline or Logo.
- Fill the holes left in the background layer: select each empty area and use Edit > Content-Aware Fill, or Generative Fill if your plan includes it.
- For flat-color artwork, Select > Color Range can pick every pixel of one color at once, which is faster than drawing selections by hand.
- Save the result as a PSD to keep the layers. Saving as JPG or PNG would flatten everything again.
Expect each object to take several minutes of selecting and cleanup. A poster with five or six elements and a detailed background can easily take an hour, which is why many designers now start with an AI separation and fix only the edges.
How to Break an Image Into Layers in Illustrator
Illustrator works with vectors, so it separates an image by tracing it into shapes. This suits logos, icons and flat illustrations, but photos lose their detail.
- Place the image, select it and open Window > Image Trace.
- Choose a color preset, such as 6 Colors or 16 Colors, and adjust the color count until the shapes look right.
- Click Expand, then Object > Ungroup, so every traced shape can be selected on its own.
- To put the shapes on separate layers, select the parent layer and choose Release to Layers (Sequence) from the Layers panel menu.
How to Separate an Image Into Layers in Canva
Canva's Magic Layers feature splits an uploaded PNG or JPG into separate elements you can move and edit. It is available on Canva Pro, Teams, Education and Nonprofit plans, not on the free plan.
- Upload a single-page PNG or JPG and add it to a design.
- Select the image and click Magic Layers in the editor toolbar.
- Wait for processing, then move, edit or delete the separated elements on the canvas.
Magic Layers works best on graphic designs and illustrations; Canva notes that photo-realistic images may not separate as cleanly. The layers stay inside your Canva design, so it is a good fit if you finish the work in Canva and a weaker fit if you need a layered PSD for Photoshop or Photopea.
How to Separate an Image Into Layers With AI
PhotoToLayers is an AI image layer separator built for this exact job. It finds the useful parts of a flat image, places each one on its own transparent layer at its original position, and rebuilds the area behind separated objects in the base layer.

Open PhotoToLayers and upload or paste a JPG, PNG or WebP image up to 10 MB.

Choose a separation mode. Basic is free once after you sign in and returns up to three layers including the base. Advanced lets you set a total layer limit of up to five layers and uses one credit per delivered layer.

Review the result: hide or show each layer with the eye icon, switch to 3D view to see the stack, and check the edges before you download.

Download a layered PSD that opens in Photoshop, Photopea or GIMP, a ZIP with one transparent PNG per layer, the visible layers as one PNG, or any single layer from the layer list.

Credit packs start at US$5.99 for 40 layers, failed jobs are not charged, and downloading a finished result again is free. Like every method in this guide, the layers are raster images: text comes back as an image layer, not as live editable type.
Which Method Should You Use?
If you are still deciding how to separate an image into layers, pick the method that matches the image and the editor you will finish the work in.
| Method | Best for and trade-offs |
|---|---|
| Photoshop | The most control over every edge, but slow, and it needs selection skills and a subscription. |
| Illustrator | Best when you want logos or flat graphics as editable vector shapes; not suited to photos. |
| Canva Magic Layers | Quick and convenient if you already design in Canva on a paid plan, but the layers stay in Canva. |
| PhotoToLayers | Separates an image into layers automatically, fills the background behind objects and gives you a layered PSD to keep editing anywhere. |
Many designers combine them: let AI produce the layer stack first, then open the PSD in Photoshop to refine a difficult edge or retype a headline.
Separating Image Layers: FAQ
How do I turn a one layer image into multiple layers?
Select each part of the image and copy it to a new layer, either by hand in Photoshop with Layer via Copy or automatically with an AI layer separator. Then fill the empty areas the objects leave behind in the background layer.
Can you unflatten an image in Photoshop?
Only before you close the file, by stepping back in the History panel. Once a flattened JPG, PNG or PSD is saved and closed, the original layers cannot be recovered and have to be rebuilt.
What happens to the area behind an object after I separate it?
That area was never saved in the flat image, so it stays empty or white until you fill it. In Photoshop you can use Content-Aware Fill or Generative Fill. PhotoToLayers rebuilds it in the base layer automatically.
Will the text in my image become editable?
No. Every method here separates text as an image layer, so you can move or hide it but not change the words. To edit the wording, hide the text layer and type new text with a similar font.
Can I separate an image into layers for free?
Yes. Free editors such as GIMP and Photopea support the same manual select-and-copy method as Photoshop. Canva Magic Layers needs a paid plan. PhotoToLayers gives you one free Basic separation with up to three layers after you sign in.
Does this work on AI-generated images?
Yes. An image from ChatGPT, Midjourney or Stable Diffusion is a normal flat file, so you can separate it in Photoshop, Canva or PhotoToLayers just like a photo or a poster.