Install librsvg

brew install librsvg

and run command below.

rsvg-convert -f pdf -o input.pdf output.svg

That’s it! πŸŽ‰