🖌️ Fix an Exported SVG From a Shape Layer Losing Its Rounded Corners Because They Were Simplified to Plain Anchor Points on Export
A rounded rectangle shape layer that looks perfectly rounded inside Photoshop can export as an SVG with sharp, pointed corners instead – not because the export failed, but because Photoshop’s SVG exporter represents a live, parametric rounded-corner rectangle as a literal path made of anchor points and curve handles, and if the shape’s corner radius was ever adjusted after the shape was drawn (dragging the corner widget instead of setting the radius at creation time), the exporter can flatten those corners into a shape that no longer matches what the canvas displays.
🔎 The Problem
Layer: rounded-rect shape, corner radius set to 20px via the Properties panel's corner widget AFTER the shape was already drawn as a plain rectangle. File > Export As > SVG: Canvas preview: rounded corners, 20px radius, looks correct Exported button.svg opened in a browser: square corners The path data in the SVG file shows straight line segments where the canvas shows curves - the live corner-radius adjustment never got baked into the path Photoshop exported.
✅ Fix: Set the Corner Radius Before Drawing, or Convert the Shape First
- Set the desired corner radius in the Options bar before drawing the rounded rectangle, rather than drawing a plain rectangle and adjusting corners afterward with the Properties panel widget – a radius set at creation time is baked into the shape’s live rounded-rectangle geometry from the start, and that is what the SVG exporter reads correctly.
- If the shape already exists with a widget-adjusted radius, select it and use Layer > Convert to Shape (or redraw it with Live Shape properties showing the correct radius value in the Properties panel) before exporting, so the radius becomes part of the shape’s own stored parameters instead of a visual-only adjustment layered on top.
- After exporting, open the SVG file directly in a text editor and check that the path data contains actual arc or curve commands at the corners, not four straight line segments meeting at sharp points – a quick text check catches a flattened export before it ships to a developer who will build off the wrong file.
🚨 Why This Is Dangerous
- This is easy to miss because the Photoshop canvas keeps showing the correct rounded appearance even after a bad export – nothing in the Photoshop UI warns that the file just written to disk doesn’t match what’s on screen, so the mismatch only surfaces once a developer opens the SVG somewhere else.
A rounded corner on the canvas is a promise Photoshop is making about how the shape looks right now – the SVG exporter only keeps that promise if the radius was part of the shape’s own math, not a widget drag applied on top of it.
