Just catching this. For a custom badge, use a proper SVG under 100kb. It has to be a real vector image so it stays sharp at any display size.
Inkscape at inkscape.org is free and open source, runs on Mac, Windows, and Linux, and saves SVG by default. If you would rather not install anything, SVG-Edit at svgedit.netlify.app works in the browser with no account. Figma’s free plan can export SVG too, though it needs a sign-up.