How to trim excess decimal places from svg path data
- Step 1Upload your SVG — Drag your SVG file onto the tool or paste the source code. Typical Illustrator or Figma exports work immediately.
- Step 2Choose your precision level — Select 1 decimal place for icons, 2 for logos, or 3 for illustrations with fine curves. The preview updates in real-time so you can spot any visible degradation.
- Step 3Download the tuned SVG — Click Download to save the file with rounded coordinates. Combine with the SVG Minifier for maximum compression.
Frequently asked questions
How many decimal places should I use for icons?+
1 decimal place is almost always imperceptible for icons viewed at 16–64px. At 2 decimal places, even complex illustrations look identical to the original.
Will rounding coordinates affect animation?+
For CSS and SMIL animations, 1–2 decimal places is more than sufficient. Sub-pixel precision is only relevant for engineering drawings — not web graphics.
Does it affect non-path elements?+
Yes — coordinates in circle (cx, cy, r), rect (x, y, width, height), ellipse, line, and polygon point values are also rounded to your chosen precision.
Can I use 0 decimal places for all icons?+
For simple geometric icons (arrows, checkmarks, simple shapes), 0 decimal places is fine. For icons with smooth curves, 1 decimal place prevents visible angular distortion.
Privacy first
Every JAD SVG tool runs entirely in your browser using the DOM API and Canvas. Your SVG files never leave your device — verified by zero outbound network requests during processing.