Photopea Guide

A paved country road curving away to the right through green fields toward a line of trees, under a hazy evening sky with the low sun on the left and a utility pole with wires at the right edge
Photo: Curved Road in the Country by Duncan Rawlinson. 55mm, f/11, 1/2000, ISO 400. Shot at 55mm, f/11, 1/2000, ISO 400 with the sun in the frame: the bright sky and the darker road want different treatment, and the pole and wires on the right are the kind of distraction the retouch on this page removes.

Photopea is a free photo editor that runs in your web browser and works the way a desktop layered editor does: layers, masks, adjustment layers, healing tools and selections. It opens layered PSD files and most image formats, keeps your files on your own device, and needs nothing installed. Use it for retouching, compositing and local edits that a raw developer or phone app cannot do.

This page teaches Photopea as a photographer’s workflow: the three ideas every edit rests on, one retouch and one composite in a working order, how to save without losing your original, and where the program stops. It gives the reason behind each control, so it stays useful when a button moves. It does not rank free editors; the comparison of free photo editors does that.

What Photopea is for, and what it leaves to other programs

Photopea is a pixel editor. It works on the picture itself, layers of pixels stacked on each other, which is what you need when a change is local or physical: taking a pole out of a sky, putting a person from one frame into another, darkening one corner. Its menus follow the conventions of desktop layered editors, so most of what you read about Photoshop for photographers carries over in idea, if not always in exact name.

  • Good for: removing distractions, composites, masked tone and color changes, opening a PSD someone sent you when you own no desktop editor, and resizing or exporting on a borrowed computer.
  • Not built for: developing raw files in depth, organizing a library, or editing a whole shoot in one pass. A raw developer does those better and should come first.
  • Where it runs: any modern browser. Photopea’s documentation says the processing happens on your device and your files are not uploaded. Once the page has loaded you can go offline and keep working.
  • Cost: free, paid for by ads beside the workspace. A paid account removes the ads; the tools are the same.

Starting from raw files? Develop them first in a raw developer, then bring the result here. The RawTherapee guide and the darktable guide cover the two free ones.

The Photopea screen in one minute

  • The main menu across the top: File, Edit, Image, Layer, Select, Filter and the rest. It never changes.
  • The options bar below it changes with the tool: size, hardness and opacity for a brush, selection modes and the Refine Edge button for a selection tool.
  • The toolbar down the left. A small arrow on a tool means a group: click and hold to reach the others, such as the Healing Brush and Patch behind the Spot Healing Brush.
  • The sidebar on the right holds panels such as Layers, History and Properties. A missing panel comes back from the Window menu.

To open a photo, use File, Open, or drag the file into the browser window. Where you drop it matters. On an empty Photopea it opens as a new document. Onto the canvas of an open document, it arrives as a new Smart Object layer inside it, the quickest start to a composite. Onto the row of document tabs, it opens on its own.

Layers, masks and adjustment layers: the three ideas under every edit

Nearly every good Photopea edit has the same shape: the original photo at the bottom, untouched, and each change on its own layer above it. The diagram shows the stack built in the retouch below.

Layers panel, top to bottomCurves: darker skyadjustment layer, changes all belowits maskDodge and burnempty layer, Overlay mode, soft paintRetouch copypole and specks healed hereOriginal photonever painted onthe eye looksdown from the topIn a maskwhite: showsblack: hidesgrey: partlydelete or hide any layer and the photo below is still there
How to read it: Photopea draws the stack from the top down, so each layer covers or changes what is under it. The bottom layer is the photo as it came in and is never painted on. The small box beside the Curves layer is its mask: white over the sky, so the darkening applies there, black over the land, so it does not, and a grey band where they meet.

Layers

A layer is a sheet of pixels that can be partly empty. Where it has pixels it covers what is below; where it is empty, the layer below shows through. Opacity and blend mode are set at the top of the Layers panel, and the eye icon hides a layer. Ctrl+J duplicates the selected layer, the first move of most retouches. What each blend mode does to the pixels underneath is in blend modes explained; they work the same way here.

Masks

A mask is a grayscale picture attached to one layer that decides where it shows. White shows it, black hides it, and grey shows it partly. Add one with the mask button at the bottom of the Layers panel or Layer, Raster Mask, Add. Click the mask thumbnail, not the picture thumbnail, before you paint, or the black goes onto the photo. Shift-click the mask thumbnail to switch it off and on; double-click it for Density, which weakens the whole mask, and Feather, which softens its edges.

Mask rather than erase, because a mask forgets nothing: paint black too far and you paint white back, while erased pixels are gone. The full treatment, with gradients, selections and luminosity, is the guide to layers and masks.

Adjustment layers

The tone and color tools in Image, Adjustments, such as Levels, Curves and Hue/Saturation, also exist under Layer, New Adjustment Layer. The menu version rewrites the pixels once. The layer version keeps the setting as an instruction you can reopen, hide or mask, and it changes everything beneath it. To make it act on one layer only, as a composite needs, clip it with Layer, Clipping Mask or Alt+Ctrl+G. What a curve does to each tone is in curves and levels.

Smart Objects are an optional fourth idea. Right-click a layer and choose Convert to Smart Object, and Photopea keeps the original pixels inside it: you can scale it down and up again without loss, and filters applied to it stay listed under the layer, ready to change. All four rest on non-destructive editing: keep the original, store the changes separately.

A working retouch in Photopea, step by step

The photo at the top of this page needs two things: the pole and wires at the right edge removed, and a sky brighter than the road brought down to match. This order works.

  1. Save a working copy first. File, Save as PSD, with a new name. From here Ctrl+S saves the PSD, and the JPEG you opened stays as it was.
  2. Duplicate the photo layer with Ctrl+J and name it “retouch”. Repairs go on the copy, so hiding it shows you what you started with.
  3. Remove small things with the Spot Healing Brush. Paint over a speck or a wire against open sky; when you let go, Photopea fills it from the surroundings in a second or a few. Short strokes along a wire work better than one long one, because each fill has less to invent.
  4. Use the Clone Stamp or Healing Brush where the pole meets the trees. Automatic fills smear trees into sky. Hold Alt and click a clean source, then paint, with the brush hardness lowered so the join does not show.
  5. Bring the sky down with a masked Curves layer. Add a Curves adjustment layer and pull the upper part of the curve down until the clouds have detail; the whole photo darkens. Click its mask, choose the Gradient tool with black as the foreground color, and drag from the tree line upward. The mask is now black over the land and white over the sky, so the darkening sits only in the sky. That mask is what makes this a local adjustment.
  6. Dodge and burn on its own layer. Add an empty layer, set it to Overlay, and paint with a soft brush at 5 to 10 percent opacity: white brightens, black darkens. Lift the road’s curve, deepen the edges. The Dodge and Burn tools do the same directly on pixels, which you cannot take back after saving. Where to lighten and why is in dodging and burning.
  7. Check at 100 percent, then compare. Healed areas give themselves away as repeated texture or a soft smudge. Hide each layer in turn and keep only those that earn their place.

The four repair tools are easy to confuse. Choose by the kind of area:

  • Spot Healing Brush: small marks in even areas. No source to choose.
  • Healing Brush: marks near detail, where you pick the texture and Photopea matches the brightness around the spot.
  • Patch: larger even areas, such as a footprint in sand. Draw around it, drag onto a clean patch.
  • Clone Stamp: straight edges and patterns, where only an exact copy will line up.

Retouching people instead of roads? Photo retouching covers skin, eyes, stray hair and how far to go, in any layered editor.

Bigger removals and lining up straight lines are covered in removing objects from a photo. Before you take things out, photo retouching ethics sets out where to draw your own line.

A composite workflow: two photos made into one

A composite puts part of one photo into another: a person onto a new background, a better sky over a landscape, the best face from a group shot. Cutting out is the easy part. A composite works or fails on whether the pieces agree, so check before you start: the light must come from the same side, the camera height and lens must be similar, and hard shadows on one piece will not sit beside soft shadows on the other. Nothing in the editor fixes light from the wrong side.

Bright storm clouds lit warm from the right over a misty lake, with a small island on the horizon and bare branches and dry reeds in the foreground
Photo: Dramatic Clouds After Storm 02 by Duncan Rawlinson. 26mm, f/5.6, 1/800, ISO 400. Shot at 26mm, f/5.6, 1/800, ISO 400: a sky like this is what people try to composite into a flatter landscape, and the soft mist line at the horizon and the warm light from the right show what the new landscape would have to match in direction, color and contrast.
  1. Open the background photo and save it as a PSD.
  2. Drag the second photo onto the canvas. It arrives as a Smart Object, so you can resize it freely with Edit, Free Transform (Alt+Ctrl+T); Shift toggles the proportion lock.
  3. Select the part you want. Quick Selection paints a selection that grows to edges; the Magic Wand picks similar colors, which suits a plain sky; Select, Color Range builds a soft, partial selection, which suits hair against sky.
  4. Refine the edge. Select, Refine Edge lets you paint white for certainly in, black for certainly out and grey over the uncertain band of hair or leaves, which Photopea then works out. Photopea’s documentation recommends New Layer output for the cleanest result; Raster Mask keeps the cut adjustable, which is worth more on anything you may revisit.
  5. Match tone and color with clipped adjustment layers. Clip Levels or Curves to the pasted layer so only it changes. Match the darkest tone first: true black on a piece set into a scene with soft grey shadows makes it float. Then match the color of the shadows.
  6. Match sharpness and grain. A piece sharper or cleaner than its background gives itself away. Blur it slightly or add a little noise.
  7. Add the shadow it would cast on a Multiply layer beneath it, painted soft in the direction the light says, then lowered in opacity to match the shadows nearby.

Does the light in your two photos agree before you start? Lighting portraits for a real looking composite explains how to shoot the pieces so they match.

The same steps in a desktop editor’s terms are in how to create a composite, and the commonest composite has its own guide, replacing the sky. Two frames from a tripod at different exposures make a blend rather than a composite; exposure blending covers that with the same masks.

Raw files in Photopea

Photopea opens raw files from most cameras, including DNG, in a small window with a histogram, white balance as temperature and tint, exposure and contrast. Press Open and the result becomes an ordinary image; the raw settings are not kept to return to.

That suits a quick fix. For anything you care about, develop the raw file in a raw developer, where highlight recovery, noise reduction and lens corrections work on the sensor data, and export a 16-bit TIFF to open in Photopea. A 16-bit file can hold 65,536 levels per channel against 256 in an 8-bit one, so strong curves and masked adjustments are far less likely to band in a smooth sky; bit depth explains why. Still deciding whether to shoot raw at all? Raw vs JPEG sets out the trade.

Saving and exporting without losing your original

One edit produces two files with two different jobs.

Opened photoJPEG, TIFF, rawDocumentlayers, masksSave as PSDExport AsWorking filekeeps every layerreopen and change laterDelivery copyJPG, PNG or WebP, flatsized for where it goesCareful: File, Save on a JPEG you openedwrites over that JPEG, flattened. Save as PSD first.one edit, two files with two jobs
How to read it: the open document holds your layers. Save as PSD writes a working file that keeps them all, so you can reopen it and change any step. Export As writes a flat copy for one use. The dashed box is the trap: File, Save writes back to the file you opened, so on a JPEG it replaces your original with a flattened version.
  • File, Save as PSD keeps every layer, mask and adjustment layer. This is your working file, and PSD is the format other layered editors read.
  • File, Export As writes a flattened copy in the format and size you choose, with a quality setting for JPG.
  • File, Save writes back to wherever the file came from: your disk, a cloud drive or one of Photopea’s storages. Convenient for a PSD, dangerous for a JPEG.
Format Layers Transparency Compression Use for
PSD Yes Yes Lossless Working file
JPG No No Lossy Sharing, web, print labs
PNG No Yes Lossless Cut-outs, graphics
WebP No Yes Lossy or lossless Web pages

For screens, export in sRGB, the color space browsers and phones assume; color space explains why a wider one can look dull elsewhere. Image, Image Size changes the pixel dimensions; Image, Canvas Size changes the frame without scaling the picture. Sizes and settings for each destination are in exporting photos, and the formats in image file formats explained.

Where Photopea stops

  • The browser is the ceiling. A tab has less memory than a desktop program, so very large files and long layer stacks slow down. A dozen layers on one photo is fine; a big panorama with fifty may not be.
  • It organizes nothing. No library, ratings or keywords. Your files stay in your folders.
  • Raw development is basic. Develop elsewhere, finish here.
  • Unsaved work lives in a tab. Treat it as unsaved until a PSD is on your disk.
  • PSD files from elsewhere may not match exactly. Most layers, masks and blend modes come through; features unique to one program can render differently. Keep the original.
  • It wants a mouse and a big screen. It runs on a phone, but brushing a mask needs a precise pointer.

Rather have a layered editor installed on your own computer? GIMP for photographers and the Affinity Photo guide cover two.

Common mistakes in Photopea

  • Pressing Save on the JPEG you opened. It replaces the original with your edit, flattened. Save as PSD first.
  • Painting on the photo instead of the mask. If black paint appears on the picture, the picture thumbnail was selected. Undo, click the mask thumbnail, paint again.
  • Using Image, Adjustments for everything. The change is baked into the pixels. An adjustment layer lets you change your mind tomorrow.
  • Retouching on the original layer. Heal on a duplicate, so the before is one click away and a bad repair can be masked out.
  • Healing a straight line with the Spot Healing Brush. Automatic fills bend edges. Clone along horizons, roofs and road lines.
  • Judging a composite at a small size. Mismatched black points and grain show at full size and in print. Check at 100 percent.
  • Not knowing when to stop. Each layer looks right alone; together they can tip over. Over-editing photos lists the signs.

Try this: a ten minute masked edit

Pick one of your own photos with a bright sky over a darker foreground, ideally with a small distraction such as a wire, a sign or a speck of dust.

  1. Open it and Save as PSD under a new name (1 minute).
  2. Duplicate the photo layer and remove the distraction with the right repair tool from the list above (3 minutes).
  3. Add a Curves adjustment layer that darkens the sky, and mask it with a black to white gradient so the foreground is untouched (3 minutes).
  4. Add an empty Overlay layer and lighten the main subject with a soft white brush at low opacity (2 minutes).
  5. Export a JPG, then reopen the PSD and change the Curves layer, to prove the edit is still adjustable (1 minute).

How to judge it: at 100 percent you cannot find where the distraction was; at normal size there is no line or glow where the gradient crosses the horizon; switching any layer off makes the photo worse, not just different. A glow along the horizon means the gradient was too long or started too low: drag it again, shorter, starting exactly at the horizon. To compare fairly, before and after editing gives you a method.

Questions about Photopea

Is Photopea really free?

Yes. The full editor is free and paid for by ads beside the workspace. A paid account removes the ads; the editing tools do not change.

Are my photos uploaded when I use Photopea?

Photopea’s documentation says it runs entirely on your device and does not upload your files, and it keeps working offline once the page has loaded. Files you choose to save to a cloud drive go to that drive, as they would from any program.

Can Photopea open and save PSD files?

Yes, both; PSD is its main format. Layers, masks, adjustment layers and blend modes come through, though very complex files with features unique to another program may not look identical, so keep the original.

Can I edit raw files in Photopea?

It opens most raw formats with a few controls for white balance, exposure and contrast, then treats the result as an ordinary image. For careful work, develop the raw file elsewhere and bring a 16-bit TIFF into Photopea.

Can I use Photopea on a phone or tablet?

It runs in a mobile browser, but the screen is small and masks need a precise pointer. For touch screens, editing photos on a tablet covers apps built for them.