Transparency is stored as an alpha channel. PNG and WebP preserve transparent pixels, and SVG can describe transparent vector artwork; JPG cannot, so transparent areas are filled with a solid colour when exported.
Files are processed locally in this browser. Keep the original until you have checked the downloaded result.