🔥 Black Friday Sale: Get 65% OFF Any PageForge Pro Plan! Use code BF65 Claim Offer →
Account Get it free
SVG Support icon
Actively maintained Tested with WP 7.1 #48 most installed plugin #1 in mime type

SVG Support

Securely upload SVG files to your media library, with built-in sanitization and advanced features for styling and animation.

Active installs1M+1M+ tier
Downloads · 30d701.6K▲ +55.8% vs prev. 30d
Rating4.8/5356 reviews
Health score97/100Excellent
All-time downloads16.3MSince Jul 2014
Support resolved1 / 1100% in last 2 months
RequiresWP 5.8PHP 7.4+
Overall rank#48of 77,339 plugins
Our verdict

Safe pick

Yes — SVG Support is a safe, well-maintained plugin to use in 2026. It runs on 1M+ sites, is rated 4.8/5 and was last updated 3 weeks ago, and scores 97/100 on our health check.

  • One of the most-used plugins on the web — 1M+ active sites
  • Loved by users — 4.8/5 from 356 reviews
  • Actively developed — last update 3 weeks ago
  • Tested with the latest WordPress (7.1)
  • Momentum — downloads up 55.8% vs the previous 30 days

How does it stack up?

Side-by-side on installs, updates, ratings & support

Daily downloads

57K113.9K170.9KSep 4Oct 18Dec 2
Yesterday10,326
Daily average (1y)10,785
Peak day280,047Jul 17, 2026
Last 12 months3.9M

Download spikes usually follow a new release — each site that auto-updates counts as a download.

Rankings

Where SVG Support stands today
Overall popularity #48 of 77,339 WordPress.org plugins Top 0.06%
1M+ installs tier 37 of 56
Next tier: 5M+ installs
Mime type #1 of 5 plugins → Safe svg #1 of 5 plugins → Sanitization #1 of 4 plugins → SVG #1 of 116 plugins → Vector #1 of 9 plugins →

WordPress.org search rankings

Live position in the plugin search, top 100
KeywordPositionCompeting pluginsCategory
mime type #3 767 Best mime type plugins →
safe svg #2 879 Best safe svg plugins →
sanitization #1 4,801 Best sanitization plugins →
SVG #1 3,339 Best SVG plugins →
Vector #2 725 Best Vector plugins →

Version adoption

Share of active sites per release.

  • 2.657.2%
  • 2.537.4%
  • Other5.5%

Rating breakdown

★★★★★★★★★★ 4.8 from 356 reviews

  • 5★93.0%
  • 4★0.60%
  • 3★2.0%
  • 2★1.4%
  • 1★3.1%

About SVG Support

From the official readme · v2.6.4

Description

The complete SVG solution for WordPress – secure, flexible, and easy to use.

SVG Support enables secure SVG uploads with powerful features for both basic users and developers:

✨ Key Features:
– Secure SVG uploads with automatic sanitization
– Inline rendering for direct CSS/JS manipulation
– File size optimization through minification
– Role-based access control
– Advanced developer options
– Multisite compatible
– Full Block Editor (Gutenberg) compatibility

🔒 Security First:
– Built-in sanitization removes potentially harmful code
– Role-based upload restrictions
– Comprehensive MIME type validation

🎨 Designer Friendly:
– Direct styling of SVG elements
– Animation support
– Custom class targeting
– Automatic dimension handling

💻 Developer Ready:
– Advanced mode for additional features
– REST API support
– Gutenberg compatible
– Extensive hooks and filters

Usage

Basic Usage:
– First, install and activate SVG Support via your WordPress dashboard
– Upload SVG files to your media library like any other image
– Works seamlessly with Image blocks, Cover blocks and featured images

Advanced Usage:
– Enable “Advanced Mode” for minification and inline rendering
– Customize with hooks and filters for tailored functionality

Block Editor Usage:
– Use Advanced Mode to enable inline rendering:
– Add the "style-svg" class to Image blocks
– Add the "style-svg" class to Cover blocks to render SVG backgrounds inline
– Use “Skip Nested SVGs” setting to control inline rendering of SVGs within Cover blocks

Classic Editor Usage:
– Use Advanced Mode to add the "style-svg" class to <img> tags for inline rendering
– Enable “Auto Insert Class” option for automatic class insertion in Classic Editor

Common Issues & Solutions:
– SVG not displaying? Ensure dimensions are set in CSS.
– Need help? Use the support tab and I will do my best to assist you.

Spin up a test site

With a single click, you can spin up a completely free test site to test SVG Support using TasteWP! No sign up, no cards, nothing! How cool is that? Give it a go:
Click Here to spin up a test site in seconds

Security

SVG Support prioritizes security with automatic sanitization and role-based restrictions. Only trusted users should have upload permissions. Configure settings to balance functionality and security.

External Services

SVG Support does not send your data anywhere on its own — everything it does (uploads, sanitization, inline rendering) happens entirely on your own site.

The one exception is opt-in: the plugin’s settings screen offers a sign-up form for the SVG Support Pro waitlist. If — and only if — you type your email address into that form and submit it, your browser sends that email address, plus a fixed label marking the plugin settings screen as the source (utm_source=svg-support-plugin), to Kit (kit.com), the newsletter service used for SVG Support announcements. Nothing is transmitted if you never use the form, no information is collected in the background, and every email includes a one-click unsubscribe.

Kit terms of service: https://kit.com/terms
Kit privacy policy: https://kit.com/privacy

Feedback

I’m open to your suggestions and feedback – Thanks for using SVG Support!

Follow @SVGSupport on Twitter
Follow @benbodhi on Twitter
Follow @benbodhi on Farcaster

Note: I hope you like this plugin! Please take a moment to rate it.

Development & Contributing

The development version of SVG Support is maintained on GitHub. Feel free to contribute:

Translations

Contribute translations here. New to translating? Check the Translator Handbook.

Changelog

Shows a clear error, instead of a server error, when an SVG is uploaded on a server without the PHP Fileinfo extension. Small, safe update with no settings changes.

2.6.4

  • Fixed:
    • On servers without PHP’s Fileinfo extension, an SVG upload now stops with an error that names the missing extension, instead of a server error (HTTP 500) with no explanation. SVG uploads still need Fileinfo, so ask your host to enable it. Props to @hughc on GitHub for the fix

2.6.3

  • Security Enhancements:

    • Updated the bundled SVG sanitizer (enshrined/svg-sanitize) to 1.1.1. On PHP 8, version 1.1.0 threw an error instead of rejecting an SVG that ends inside an unclosed tag (GHSA-f7cw-vfxq-7ph2). For an SVG stored through wp_upload_bits(), as the WordPress Importer and some other plugins do, that left the file on disk unsanitized. Such a file is now rejected and deleted. Media Library, REST and XML-RPC uploads were never stored
    • Hardening: if the sanitizer ever fails with an error, the SVG is treated as one that can’t be sanitized and is rejected, instead of the error ending the request
  • Fixed:

    • SVGs on offloaded media (such as S3 Uploads, which stores files at s3:// paths) now get their real width and height in the Media Library and in their attachment metadata, instead of 0×0. Those paths were mistaken for web addresses and downloaded over HTTP, which WordPress refuses, instead of being read as files
  • New Features:

    • New bodhi_svgs_remote_svg_url filter for the URL a remote SVG is downloaded from to read its dimensions, for example to sign URLs for a private bucket. Props to @dylanblokhuis on GitHub for the suggestion

2.6.2

  • Security Enhancements:

    • Fixed a stored XSS where SVGs uploaded over XML-RPC (wp.uploadFile and metaWeblog.newMediaObject, including .svgz) skipped sanitization. XML-RPC uploads are now sanitized before they are written, and any SVG stored through wp_upload_bits() (importers and other plugins) is sanitized once it lands on disk. Exploiting it required a user who had been allowed to upload SVGs. Thanks to Het Kalariya for the report, and to WPScan (Automattic) for the coordinated disclosure
    • Fixed a stored XSS in Safari where an SVG animation such as <animateTransform> could turn a link’s target into a javascript: URL after sanitization. Animations can no longer target a link or an event handler, and script URLs are removed from animated values. Exploiting it required a user who had been allowed to upload SVGs. Thanks to Pierre Rudloff for the report, and to WPScan (Automattic) for the coordinated disclosure
    • Hardening: uploads from users without the upload_files capability (for example through a front-end upload form) are now always sanitized. “Do not sanitize for these roles” only applies to users who can upload files
    • Updated the bundled SVG sanitizer (enshrined/svg-sanitize) to 1.1.0, which fixes seven upstream security advisories (remote references, DTD entities, SMIL animations and several slow-input cases)
    • Updated the bundled DOMPurify library to 3.4.17 for front-end sanitization of inline SVGs. The 2.x line no longer receives security fixes
  • Behavior Changes (from the sanitizer update):

    • Remote references are removed more thoroughly: a remote <image>, or a remote CSS url() or @import (such as a Google Fonts import) inside an SVG, is now stripped. Links (<a href="https://...">) are kept
    • SVGs that define their own DTD entities are now rejected by every upload route. The Media Library already refused them
  • Fixed:

    • No more finfo_close() deprecation notice on every SVG upload under PHP 8.5
    • Gzipped .svgz files now get their width and height read, instead of 0×0 and a PHP warning
  • Compatibility:

    • Tested up to WordPress 7.1. No code changes were required — WordPress 7.1’s new client-side media processing only handles raster images (JPEG, PNG, GIF, WebP and AVIF), so SVG uploads keep running through this plugin’s own MIME validation and sanitization exactly as before.
  • New Features:

    • Optional SVG Support Pro waitlist sign-up on the settings screen — join for launch news, early access and founding-supporter pricing. Your email address is sent only when you submit that form (see External Services above), and the free plugin stays free, like always.

2.6.1

  • Fixed:
    • Fatal error when uploading SVGs through WP-CLI (wp media import, migration and hosting tooling) — the sanitizer instance never reached global scope in CLI contexts. No security impact: affected uploads crashed rather than skipping sanitization (failed closed). The sanitizer is now resolved through a defensive accessor, with regression tests covering the CLI loading context. Props to Cal from Toolshed for the excellent report.

2.6.0

  • New Features:

    • Completely redesigned settings screen with the new SVG Support brand — cleaner panels, real toggle switches, role picker chips, and a live code sample
    • Settings now auto-save as you change them, with a save-state indicator (the classic Save button remains as a no-JS fallback)
    • Advanced Mode now reveals its options instantly when toggled — no more save-and-reload
    • Scannable QR codes for the BTC and ETH donation addresses (tap the QR icon next to each address)
    • New brand site at https://svg.support with tutorials and documentation
  • Code Improvements:

    • Removed the third-party jQuery dropdown multiselect (~1,000 lines) — role pickers are now dependency-free native checkboxes
    • Fixed admin/front-end asset cache-busting: enqueued styles/scripts are now versioned with the plugin version (previously the version was empty, so browser caches never refreshed on update)
    • Settings screen assets (fonts, icons, styles, JS) only load on the SVG Support settings page
    • Removed the CodeKit build dependency — stylesheets are now plain CSS edited directly, and minified JS is regenerated with a simple in-repo script

2.5.17

  • Security Enhancements:

    • Fixed a stored XSS sanitization bypass via the .svgz extension – .svgz uploads are now sanitized just like .svg (decompressing the gzip stream first when present), instead of skipping sanitization. This completes the earlier fixes for CVE-2024-10222 / CVE-2023-6708. Thanks to Shivamani Vastrala for the report, and to Erwan Le Rousseau (WPScan, Automattic) for the coordinated disclosure
    • Browser uploads now run through the same sanitizer configuration as REST and import uploads (custom tag/attribute allow-lists and remote reference removal), keeping all upload paths consistent
    • Added direct file access protection to the settings page so it can no longer be loaded outside of WordPress
  • Code Improvements:

    • Renamed the internal final_output filter to bodhi_svgs_thumbs_final_output so it’s properly prefixed and can’t clash with other plugins
    • Removed the redundant load_plugin_textdomain() call – WordPress automatically loads translations for plugins hosted on WordPress.org
    • Documented the intentional direct database queries used for plugin meta cleanup (no functional change)

Full changelog on WordPress.org →

Screenshots

Settings screen
Settings screen
Advanced Mode settings
Advanced Mode settings
Featured Image checkbox to render SVG inline
Featured Image checkbox to render SVG inline
SVG used in WP native Image Widget
SVG used in WP native Image Widget
Inline SVG in the front end markup
Inline SVG in the front end markup
Help tab - Overview
Help tab - Overview
Help tab - The Settings
Help tab - The Settings
Help tab - Standard Usage
Help tab - Standard Usage
Help tab - Render SVG Inline (advanced usage)
Help tab - Render SVG Inline (advanced usage)

For developers

Is this your plugin? Show off the numbers.

Add a live badge to your site, docs or GitHub README. It updates on its own — no account needed.

Active installs badge Rating badge Health score badge

Best SVG Support alternatives

All mime type plugins →
Alternatives
Rank Plugin Active installs Rating Updated Health
2 MimeTypes Link Icons MimeTypes Link Icons Adds icons automatically to any uploads and/or file links inserted into your blog posts. by eagerterrier 8K+ ★★★★★★★★★★ 5 (26) 8 months ago 44
3 Rocket Media Library Mime Type Rocket Media Library Mime Type Choose which file types (hwp, svg, csv ...) can be uploaded to the media library, and… by Rocketm2n 80+ ★★★★★★★★★★ No reviews 1 month ago 64
4 Easy SVG Upload Easy SVG Upload The easiest way to upload svg image file in your WordPress Site. by Delower Hossain 10+ ★★★★★★★★★★ No reviews 1 year ago 32
5 LH Media Mime Types LH Media Mime Types Enables you to filter the media listing by the media mime type by shawfactor <10 ★★★★★★★★★★ No reviews 4 years ago 21

FAQ

SVG Support: quick answers

Straight answers, pulled from live WordPress.org data.

Source: WordPress.org

Is SVG Support free?

Yes. SVG Support is free to download and use from the official WordPress.org plugin directory.

Is SVG Support safe to use in 2026?

Yes — SVG Support is a safe, well-maintained plugin to use in 2026. It runs on 1M+ sites, is rated 4.8/5 and was last updated 3 weeks ago, and scores 97/100 on our health check.

How many websites use SVG Support?

SVG Support is active on 1M+ WordPress websites and has been downloaded 16,301,054 times since it launched in July 2014. It was downloaded 701,585 times in the last 30 days.

Does SVG Support work with WordPress 7.1?

Yes. The developer has tested SVG Support up to WordPress 7.1.5, the latest release. It requires WordPress 5.8 or newer.

What PHP version does SVG Support need?

SVG Support requires PHP 7.4 or higher. Most hosts run PHP 8.x today, so it works on any modern WordPress hosting.

When was SVG Support last updated?

The latest version, 2.6.4, was released on November 14, 2026 (3 weeks ago).

Who makes SVG Support?

SVG Support is developed and maintained by Benbodhi.

What are the best alternatives to SVG Support?

The most popular alternatives to SVG Support are MimeTypes Link Icons (8K+ installs), Rocket Media Library Mime T… (80+ installs) and Easy SVG Upload (10+ installs).

Powered by PageForge

One template and a spreadsheet. A real page for every search.

PageForge turns each row of a CSV into a WordPress page with its own title, URL, SEO fields and schema, built on the layout you already designed. Free on WordPress.org.

  • CSV and XLSX, plus Google Sheets on Professional and Enterprise
  • Its own title, URL, SEO fields and schema for every page
  • Works with the block editor, Elementor, Divi and Avada
  • Free on WordPress.org, no credit card

↑↓ to move↵ to open