Show HN: SVGFix – transforms SVG path coordinates to origin, not just viewBox

  • Posted 6 hours ago by stardeltaio
  • 1 points
https://svgfix.net/
I kept running into the same problem: SVGs from Figma/Illustrator with offset viewBox values that break when converting to PNG or using in icon systems.

Existing "crop" tools just adjust the viewBox attribute. But if your paths have coordinates like "M 150 200 L 180 230", the viewBox crop doesn't fix the underlying issue.

SVGFix actually translates all path d attributes so coordinates genuinely start at 0,0. Then it normalizes the viewBox to match.

- Runs entirely in browser (no uploads) - Auto-processes on drop - Shows before/after size savings

Built with Astro + Vue, open source: https://github.com/stardeltaio/svgfix.net

Would love feedback from anyone who's dealt with this SVG coordinate nightmare.

0 comments