MIME-тип .svg (image/svg+xml)

The standard MIME type for SVG graphics is image/svg+xml, required for in-browser vector rendering and inline styling.

Images .svg
W3C Recommendation
Nginx mime.types
types {
    image/svg+xml svg svgz;
}
Apache .htaccess
AddType image/svg+xml .svg .svgz

⚡ Process .svg Locally In Your Browser

Use our privacy-focused tool "SVG Optimizer". 100% client-side execution — zero bytes uploaded to remote servers.

SVG Optimizer →

Open the full tool: Open SVG Optimizer →

FAQ

What is the official MIME type for .svg files?

The standard MIME type for .svg files is "image/svg+xml". It is standardized under W3C Recommendation and categorized as Images.

How do I configure Nginx to serve .svg with the correct Content-Type?

Add the mapping to your mime.types file or http block: types { image/svg+xml svg svgz; }

Why do browsers require the correct Content-Type header?

Modern browsers enforce strict MIME type checking (especially with X-Content-Type-Options: nosniff). If an asset is served with the wrong MIME type, browsers may refuse to render styles, execute scripts, or display graphics.

🔗 Share this page

TelegramWhatsAppX