What converting a path to a shape does

In Photopea, a path is a vector outline you draw with the pen tool — it has no fill or stroke until you add one. A shape is a filled or stroked object that lives on its own layer. Converting a path to a shape turns that outline into an actual visible object you can move, resize, and edit as a single unit.

The conversion is useful when you want to lock in a design element, apply effects to it, or export it as a solid graphic. Once converted, the path becomes a shape layer in your Layers panel, and you can no longer adjust the individual anchor points the way you could with the original path.

Key Takeaways

  • You convert a path to a shape by selecting the path in the Paths panel, then using the Stroke Path or Fill Path option from the Edit menu.
  • Stroke Path creates an outline around your path using your chosen brush or line weight; Fill Path creates a solid colored area inside the path.
  • The converted shape appears on a new layer in your Layers panel and can be moved and transformed like any other layer.
  • If you need to edit the path's outline after converting it, you will have to undo the conversion and work with the original path instead.

How to stroke a path into a visible shape

Stroking a path means drawing a line along it. Open your Photopea document and make sure you have already drawn a path using the Pen tool. In the right sidebar, click the Paths tab (it looks like a pen nib). You will see your path listed there.

Right-click on the path name in the Paths panel and select Stroke Path. A dialog box will open asking you to choose a tool — the Paintbrush is the default and works well for most cases. Click OK. Photopea will draw along your path using your current brush size and foreground color. The stroke now appears on your active layer as a raster (pixel-based) shape.

If you want more control over the stroke's appearance before converting, you can also go to the top menu: Edit > Stroke Path. This opens the same dialog and gives you the option to choose your brush, size, and opacity before the stroke is applied.

How to fill a path into a solid shape

Filling a path means creating a solid colored area inside it. With your path visible in the Paths panel, right-click on the path name and select Fill Path. A dialog will appear asking you to confirm — click OK. Photopea fills the entire area inside your path with your current foreground color.

The filled shape appears on your active layer as a raster object. If you want to change the fill color after the fact, you can use the bucket fill tool or paint over it, but you cannot adjust the path's outline itself without undoing the fill and returning to the original path.

You can also access this from the menu: Edit > Fill Path. This method is faster if you are filling multiple paths in the same document.

Converting to a shape layer instead of raster

The Stroke Path and Fill Path methods create raster (pixel-based) shapes, which means they are made of colored pixels and cannot be scaled up without losing quality. If you want a vector shape layer instead — one that stays sharp at any size — you need a different approach.

Select your path in the Paths panel, then go to Layer > New Layer > Shape Layer. Photopea will convert the path into a vector shape layer. You can then apply a stroke and fill to this layer using the stroke and fill options in the toolbar. Vector shape layers are better for logos, icons, and graphics you plan to resize later.

What to do if the conversion does not look right

If your stroke or fill came out the wrong color, size, or opacity, undo the action (Ctrl+Z or Cmd+Z) and adjust your foreground color or brush settings before trying again. Check that your foreground color swatch in the toolbar is set to the color you want — it is the overlapping squares in the left toolbar.

If the stroke is too thin or too thick, undo and adjust the brush size in the tool options before stroking again. For fill, the color is always your foreground color, so change that first if needed. If your path itself looks wrong — the outline is in the wrong place or has extra points — undo the conversion and edit the path using the Direct Selection tool (the white arrow) before converting again.

Keeping your original path after conversion

When you stroke or fill a path, the path itself remains in the Paths panel — the conversion does not delete it. This means you can convert the same path multiple times with different settings if you want. For example, you could stroke it once with a thin black line, undo, and then stroke it again with a thick blue line on a different layer.

If you want to clean up your Paths panel later, right-click on a path and select Delete Path. This removes the path but leaves any stroked or filled shapes you created from it intact. Paths take up very little file size, so there is no harm in keeping them if you think you might edit the shape later.

Frequently Asked Questions

Can I convert a path to a shape without stroking or filling it first?

Not directly. A path by itself is invisible — it is just an outline with no pixels. You must either stroke it (draw a line along it) or fill it (color the area inside) to make it visible. Once stroked or filled, it becomes a shape on a layer.

What is the difference between stroking and filling a path?

Stroking draws a line along the path's outline, like tracing it with a pen. Filling colors in the entire area inside the path. Stroking creates a hollow shape (just the edge), while filling creates a solid shape. You can do both to the same path if you want an outline with a colored interior.

Can I edit a path after I convert it to a shape?

Not directly. Once you stroke or fill a path, it becomes a raster layer and you cannot move the anchor points anymore. If you need to adjust the outline, undo the conversion, edit the original path, and then stroke or fill it again.

Why does my stroked path look blurry or pixelated?

Stroked paths are raster-based, so they are made of pixels and can look soft or jagged depending on your brush and zoom level. If you need a sharp, scalable outline, use a vector shape layer instead by going to Layer > New Layer > Shape Layer and converting your path there.

Can I change the stroke color or thickness after converting?

Once the path is stroked, it is a raster shape and you cannot change just the stroke properties. You would need to undo and stroke again with different settings, or paint over it with a different color using the paintbrush or bucket fill tool.