SVG Path → Points Converter
Paste SVG path data, get a JavaScript array for your DFT Drawing project
Create your drawing using the
SVG Path Editor
, Google Drawings (export as SVG), or any vector tool
Option A:
Upload your
.svg
file using the button below
Option B:
Paste the path data (the
d
attribute starting with
M
)
Set the number of points and click
Convert
Copy the output into your
drawing.js
file
Option A: Upload an SVG file
Your SVG has multiple paths. Pick the one that is your drawing:
Option B: Paste SVG path data (the "d" attribute):
Number of points:
Convert
Output (paste into drawing.js):
Copy to Clipboard
Preview:
Show points