SVG and SVGZ formats are the same vector graphics, with the difference that .svgz files are further compressed (ZIP) to reduce the file size. Many vector graphics software support saving to either variant of this format, but what you can do as well is to simply zip your .svg file and rename the suffix.
Updated: October 12, 2023