SVG Path Editor

SVG Path Editor

Path d data only. Supported commands: M, L, H, V, C, S, Q, T, Z (absolute or relative). Arcs and full SVG markup are rejected.

1. Import path data

Copy only the d value from a path element. The example starts with a closed three-node Bézier outline.

Example ready to edit.

2. Edit on the canvas

Drag a yellow or white anchor; select it to reveal blue incoming and outgoing handles. Numeric coordinates remain available below.

3. Edit nodes and subpaths

Choose a node before changing its incoming segment. A closed subpath connects the final node back to the first.

Anchor
Incoming handle
Outgoing handle
Coordinates of every editable node
SubpathNodeXYHandles
11152702
1320902
15252702

4. Export vector path

This is the normalized d attribute currently rendered on the canvas. The SVG download includes the selected dimensions and colors.

Limits: 100–2000 px canvas, 30 subpaths, 300 nodes, 20,000 path characters, coordinates within ±100,000. Serialization rounds coordinates to four decimal places.

Comments & questions

SVG Path Editor

Edit the actual geometry of an SVG path, rather than tracing pixels or rasterizing a finished graphic. Paste path data, select a subpath and drag its anchor or cubic control handles. Add and remove nodes, open or close a contour, and use undo or redo before exporting a standalone vector SVG. The parser accepts absolute and relative M, L, H, V, C, S, Q, T and Z commands; quadratic curves are converted to equivalent cubic controls. Arc commands and complete SVG documents are deliberately rejected, so unsupported shapes are never silently changed.

Key features

  • Import absolute or relative SVG path data with multiple open or closed subpaths
  • Drag anchor points and incoming or outgoing Bézier control handles
  • Add or remove nodes and subpaths, switch the incoming segment between line and curve
  • Undo and redo edits, including a complete pointer drag as one step
  • Copy canonical M/L/C/Z path data or download a standalone vector SVG

How to use

  1. Paste the d attribute from an SVG path, or restore the built-in example, then import it.
  2. Select a subpath and node in the controls or node table.
  3. Drag the anchor and blue handles on the canvas, or enter coordinates numerically.
  4. Add or remove nodes, choose a line or curve, and open or close the subpath as needed.
  5. Check the canonical path data and copy it or download the finished SVG.

Use cases

  • Refine the curvature of a logo outline after tracing
  • Adjust an icon's anchor coordinates without installing a desktop vector editor
  • Inspect and simplify a multi-subpath SVG d attribute for a web component

Frequently asked questions

Which SVG commands can I paste?

Absolute and relative M, L, H, V, C, S, Q, T and Z are accepted, including repeated coordinate groups and multiple subpaths. Q and T are converted to equivalent cubic handles. Arcs (A) and full SVG markup are rejected with an explicit error.

Why does exported path data use only M, L, C and Z?

The editor stores all supported segments as anchors and cubic handles. H, V, S, Q and T are normalized without changing their curve geometry, then serialized as explicit M, L, C and Z commands to make editing predictable.

Can I edit a closed outline with a curved final segment?

Yes. A closing curve can be represented by the last node's outgoing handle and the first node's incoming handle, followed by Z. Toggling a subpath open or closed changes the closing segment.

Does undo restore a whole drag?

A pointer drag records one snapshot when it begins, so a single undo returns the path to its position before that drag. Other button and numeric edits record their own steps.

Is the download a real SVG vector?

Yes. The exported file contains a standalone SVG path with its viewBox, fill and stroke. It does not embed a raster image or request external resources.

Privacy

Path data and edits stay in this browser tab. The editor does not send drawings to a server API or automatically save them.

Related Tools

Image to SVG VectorSVG to PNG / JPEGSVG Icon Sprite PackerImage Super ResolutionHDR Exposure MergerPhoto Colorization LabPanorama StitcherSheet Nesting PlannerEdit Decision WorkbenchTeleprompter StudioBilingual Video Study PlayerChord Progression LabMusic Score EditorSubtitle WorkbenchSpatial Audio DesignerMusic Chord Candidate AnalyzerMIDI Piano Roll EditorSample Instrument BuilderImpulse Response LabAudio Waveform EditorDTMF Signal LabSpectrogram Sound PainterAudio Spectrum AnalyzerAudio DenoiserAudio Source SeparatorSound Effect SynthesizerMultitrack Audio MixerAudio Transient SlicerAudio Loop Seam FinderAudio Loudness AuditorAudio Pitch Tempo StudioStereo Anaglyph MakerPhoto Mosaic MakerImage Frequency SpectrumSimilar Photo FinderLenticular InterlacerPBR Texture Map LabPanorama Tour BuilderImage Calibration TargetsImage Steganography LabVector Morph EditorDocument Perspective CorrectorImage Inpainting StudioKnitting Chart EditorSVG Boolean WorkbenchSeamless Pattern MakerScreenprint Separation StudioQuilt Layout PlannerPerspective Mockup StudioLow Poly Mesh MakerFont Subset BuilderFocus Stacking LabImage Depth EstimatorCross Stitch Chart MakerAnimation Timeline EditorPixel Paint StudioImage Difference HeatmapImage Quality LabID photo makerBarcode scannerVideo to GIFVideo Chroma KeyerVideo StabilizerVideo Reframe StudioStop Motion StudioVideo Timecode ConformerVideo Quality ComparatorHLS and DASH Manifest ValidatorVideo Speed Ramp EditorVideo Container InspectorVideo Storyboard MakerVideo Privacy MaskerRotoscope Mask EditorVideo Motion TrackerVideo Frame InterpolatorAudio Description EditorVideo Audio Sync LabVideo TrimmerGIF Frame ExtractorPixel Art ConverterCircle Profile CropPhoto and Polaroid FrameRound Image CornersJPEG EXIF Viewer and RemoverImage Color Vision SimulatorImage to ASCII ArtPhoto CollageInstagram 9-Tile SplitterLong Image SplitterImage CropRotate and Flip ImagesImage FiltersMeme GeneratorScreenshot BeautifierBarcode GeneratorQR Code GeneratorImage CompressorImage ResizeImage ConverterFavicon GeneratorYouTube Thumbnail ExtractorHEIC to JPGSignature & Stamp MakerImage WatermarkGIF MakerImage Color PickerImage to Text (OCR)Merge ImagesPhoto Blur & MosaicQR Code ScannerMP4 to MP3 ConverterVideo CompressorBackground Remover
Explore all Image/Media tools →Text/Convert →Life/Fun →Dev Tools →