PluginSift
PluginsThemesCompare
Directory
  • Plugins
  • Themes
  • Compare Plugins
Plugin Comparisons
  • SEO
  • Security
  • Ecommerce
  • Page Builders
  • Caching
  • Backup
  • Forms
  • Analytics
Resources
  • About
  • Contact
  • llms.txt

© 2026 PluginSift. Data sourced from WordPress.org. · [email protected]

  1. Home
  2. Plugins
  3. SVG
  4. Safe SVG
Safe SVG icon

Safe SVG

Enable SVG uploads and sanitize them to stop XML/SVG vulnerabilities in your WordPress website.

By 10up·SVG·Free
4.9(77 reviews)
·1.0M+ active installs·Updated 2 months ago
DownloadVisit HomepageCompare

As of April 2026, Safe SVG is a WordPress SVG plugin with 1.0M+ active installations and a 4.9/5 rating from 77 reviews. It has been downloaded 12M+ times in total. Requires WordPress 6.6+ and PHP 7.4+. Available on WordPress.org since 2015. Recently updated within the last 3 months. Downloads are up 6% this week. Support resolution rate: 50%. Top alternative: SVG Support.

4.9/577 reviews
1.0M+active installs
50%resolved
11 yearssince 2015

Overview

Safe SVG is the best way to Allow SVG Uploads in WordPress!

It gives you the ability to allow SVG uploads whilst making sure that they’re sanitized to stop SVG/XML vulnerabilities affecting your site. It also gives you the ability to preview your uploaded SVGs in the media library in all views.

Current Features

  • Sanitised SVGs – Don’t open up security holes in your WordPress site by allowing uploads of unsanitised files.
  • SVGO Optimisation – Runs your SVGs through the SVGO tool on upload to save you space. This feature is disabled by default but can be enabled by adding the following code: add_filter( 'safe_svg_optimizer_enabled', '__return_true' );
  • View SVGs in the Media Library – Gone are the days of guessing which SVG is the correct one, we’ll enable…
Read full description on WordPress.org

Ratings & Reviews

4.977 reviews
5 ★
69
4 ★
7
3 ★
0
2 ★
1
1 ★
0

Recent Reviews

Works Well
by devlin1·3 weeks ago·1 reply

Needed SVG upload support, and this plugin did the job. Very lightweight and easy to use. No issues so far. Some additional settings would be nice, but overall, it’s quite solid.

Nice And Easy
by Reza Asadi·4 months ago·1 reply

Nice And Easy plugin for using SVG files

Good plugin, but missing …
by rrvoigt·9 months ago·1 reply

Would have given a 5 star, but it seems support is missing for the taxonomy / terms section (like in categories) upload for SVG images. Keep getting an error that the upload isn’t supported. Hopefully this will be fixed in a future update. Will update once this is added. Cheers!

Wonderful + fetaure request
by Stefano·11 months ago·1 reply

Great plugin! very usefull, but please can you add the possibility to add an inline SVG on the block pasting svg code?


Thanks!

ELEMENTOR+Safe SVG=It works
by bandgamin·1 year ago·1 reply

Thanks to the plugin developers. The plugin helped me solve my issue.

Download Trends

Today: 5KYesterday: 5KThis week: 27KPeriod total: 2.6M

Compatibility

WordPress6.6+ requiredTested up to 6.9.4
PHP7.4+ required

Version Adoption

v2.4
59.8%
v2.3
17.9%
v2.2
11.8%
Other
10.4%

Top Alternatives to Safe SVG

SVG Support icon
SVG Support
4.81.0M+ installsUpdated 1 year ago
ViewCompare
Easy SVG Support icon
Easy SVG Support
540K+ installsUpdated 4 months ago
ViewCompare
WP SVG Images icon
WP SVG Images
530K+ installsUpdated 3 months ago
ViewCompare
The Icon Block icon
The Icon Block
530K+ installsUpdated 2 months ago
ViewCompare
Enable SVG, WebP, and ICO Upload icon
Enable SVG, WebP, and ICO Upload
4.610K+ installsUpdated 4 months ago
ViewCompare
View all SVG plugins →

Frequently Asked Questions

Changelog

2.4.0 – 2025-09-22

  • Added: Ability to upload SVGs from more admin locations (props @stormrockwell, @darylldoyle, @wpexplorer, @smerriman, @jeffpaul, @dkotter via #279).
  • Changed: Added $attachment_id argument to filters safe_svg_use_width_height_attributes and safe_svg_dimensions (props @roborourke, @dkotter via #278).
  • Fixed: Inconsistent or incorrect data type for $svg argument in the filters safe_svg_use_width_height_attributes and safe_svg_dimensions (props @roborourke, @dkotter via #278).
View full changelog on WordPress.org

Contributors

10up10upJeffrey PaulJeffrey PaulDaryll DoyleDaryll Doyle
Plugin Info
Version
2.4.0
Last Updated
Jan 4, 2026
WP Requires
6.6+
Tested Up To
6.9.4
PHP Requires
7.4+
Active Installs
1.0M+
Downloads
12M+
Added
Jul 3, 2015
Business
Community

Tags

svgmimemediavectorsecurity

Developer

1
10up
23 plugins1.4M+ total installs
View all plugins →

Quick Compare

Safe SVG vs SVG Support→Safe SVG vs Easy SVG Support→Safe SVG vs WP SVG Images→

Plugin data sourced from WordPress.org. Analysis and metrics by PluginSift.