Split any image into layers, on your own computer

Click the things you want on their own layer. Kokon cuts each one out, paints the background behind it, and gives you a stack of layers to move, hide or edit, or to export as a PSD. Free, offline, and your image is never uploaded. New in Kokon 0.12, experimental. Updated November 5, 2026.

Try it here: this is a real split made by Kokon, the poster from the 0.12 video. Drag the girl, the spider, the ghosts or the text.

How to split a photo into layers

  1. Open the image in Kokon (drop it into the window or paste it) and press Layers (lab) under the prompt box.
  2. Click each thing you want on its own layer: a person, an object, the text. Click again to take a bigger part, right-click to take a piece away, or fix the edge with the brush (B) and the eraser (E).
  3. Press Split into layers and choose Fast (a quick cut-out, a few seconds per object) or Quality (the AI redraws each edge as a clean cut-out).
  4. Kokon paints the background behind the objects, so nothing leaves a hole when it moves.
  5. Move, scale or hide any layer, select several with Shift, group them with Ctrl+G.
  6. Export PSD for a layered file, or Save as image to get one picture back as a new version of your project.

The background behind each object gets filled

Cutting an object out is only half of it: what was behind it has to exist too. Kokon repaints the empty background with the same image model it uses for edits, continuing the surfaces, light and perspective around it. In the demo above, drag the spider away and the street is already there.

Export a layered PSD

Export PSD writes every layer, with its transparency and position, plus the flattened picture, in the Photoshop format that GIMP and Photopea also read. Keep going there: retouch one layer, add your own, change the order. Text in the picture comes out as an image layer, not as editable type.

Edit one layer, expand it, blend it in

Local and free, or an online image-to-layers tool?

Online tools that turn an image into layers upload your picture, and most cap the free plan. Workflows for ComfyUI run locally but need nodes, Python and a large GPU. Kokon is one installer: the cut-outs, the fill and the PSD are made on your own graphics card, with no limit and no account. The images are for non-commercial use because of the model's license.

What you need

WorksRecommended
Windows or Linux + NVIDIA12 GB of VRAM (8 GB in beta)16 GB or more
Windows or Linux + AMD / Intel Arc12 GB of VRAM, Vulkan (beta)16 GB or more
MacApple Silicon, 16 GB, macOS 1532 GB or more, Pro/Max/Ultra chip
Disk15 GB free25 GB free

Questions

Can AI split a flat JPG or PNG into separate layers?

Yes. In Kokon's Layers lab you click each thing you want on its own layer; Kokon cuts it out and paints the background behind it, so the result is a stack of layers: the objects on top, the filled background at the bottom.

How do I convert an image to a PSD with layers for free?

Open the image in Kokon, press Layers (lab), click the objects, press Split into layers, then Export PSD. Kokon is free and open source; the file is written on your computer.

What happens to the background behind an object I separate?

Kokon repaints it with the image model, continuing the surfaces, light and perspective around it, so moving or hiding the object leaves no hole.

Does it work offline, without uploading my image?

Yes. The cut-outs, the background fill and the PSD are all made on your own computer. After setup no internet is needed.

Can I edit the text in the image after the split?

Text in the picture becomes an image layer you can move, hide or edit with a sentence, not editable type.

Which devices does it run on?

Windows and Linux with a 12 GB graphics card (NVIDIA 8 GB in beta) and Apple Silicon Macs. The Layers lab is in the desktop app; it is off in the phone layout.

Try Kokon

Free and open source for Windows, macOS and Linux. One installer; Kokon sets up the model for your graphics card.

Your download has started

Kokon is free and open source, made by one person. If you like it, a star on GitHub helps other people find it and keeps the project going.

Star on GitHub