HomeSVG Path Editor

SVG Path Editor

Online SVG path editor with visual command editing, shape presets, style controls, and SVG code export/download.

Path Editor

Quick Presets

Shape Tools

Path Styling

Preview

Zoom: 100%

Generated Code

<svg width="400" height="400" viewBox="0 0 400 400" xmlns="http://www.w3.org/2000/svg">
  <path
    d="M 50 50 L 150 50 L 200 150 L 100 200 L 50 150 Z"
    fill="#f59e0b"
    stroke="#b45309"
    stroke-width="2"
    stroke-linecap="round"
    opacity="1"
  />
</svg>


Documentation

About SVG Path Editor

This tool is built for editing and visualizing SVG path data. You can modify the d attribute, preview shape changes in real time, adjust style properties, and export complete SVG code.

Core Features

  • Path data editing: edit path strings directly with instant validity checks.
  • Presets and shape templates: quick presets like circle, star, rectangle, and arrow.
  • Style controls: fill, stroke, stroke width, opacity, and linecap options.
  • Zoom preview: zoom in/out and reset view for detail inspection.
  • Code generation: produce full SVG output with copy and download actions.

How To Use

  1. Paste or write path data and ensure it is valid.
  2. Apply quick presets or shape templates when needed.
  3. Tune style settings while watching the live preview.
  4. Copy generated code or download the SVG file.

Typical Use Cases

  • Fine-tuning icon path geometry.
  • Editing paths exported from design tools.
  • Preparing path structures for front-end animations.

FAQ

Why is my path marked invalid?

Check command letters, parameter counts, and separators. Missing coordinates and malformed command segments are common causes.

Why is the shape not centered in preview?

Position comes from the original coordinates. Shift the path values or apply transform in final SVG usage.