SVG Path Animator
Create and animate SVG paths with an interactive editor. Draw, customize, and generate code for your SVG animations.
Canvas
Generated Code
SVG Code
Draw a path to generate SVG code.
CSS Animation
Enable animation to generate CSS code.
Path Settings
Animation
SVG Path Commands
Learn how SVG paths work with this quick reference guide:
M
Move To
Start a new sub-path at the given (x,y) coordinates.
L
Line To
Draw a straight line from the current point to (x,y).
C
Cubic Bezier
Draw a cubic Bézier curve with control points (x1,y1), (x2,y2), ending at (x,y).
Z
Close Path
Close the current sub-path by connecting it back to its starting point.
Animation Tips
- Use "Draw" animation to create drawing effects with stroke-dasharray/dashoffset.
- Use "Transform" animation for movement, rotation, and scaling effects.
- Try combining multiple SVGs with different animations for complex effects.
- The generated CSS can be easily integrated with React, Vue, or vanilla JS projects.
Example SVG Paths
Get started quickly by using one of these example paths: