WP SVG images


Add SVG support to your WordPress web. You can upload SVG files, you can see them as thumbnails in media library, etc.


SVG files have XML syntax which would allow someone to inject malicious code. That’s why only Administrators and Editors can upload SVG files.

If you know what you are doing and you want to enable SVG upload for everyone with Media Library access or upload_files capability, then you can use WP_SVG_FOR_EVERYONE constant in your wp-config.php

define( 'WP_SVG_FOR_EVERYONE', true );


  1. Upload wp-svg-images directory to the /wp-content/plugins/ directory
  2. Activate the plugin through the ‘Plugins’ menu in WordPress


يونيو 8, 2021
I tried a lot of plugins for SVG images, but none is good like this plugin. Greets to author, very powerful plugin. Especially is good for SVG width and height, it's automatically set the width and high of SVG images. Thanks!
أبريل 24, 2020
WP SVG images let's you upload SVG files to WordPress and shows previews in the media library but the description doesn't clearly state what else the plugin is doing, it just says "Add SVG support to your WordPress web. You can upload SVG files, you can see them as thumbnails in media library, etc." It can't load SVG files that link to external images made with Illustrator CC 2020 unfortunately. I uploaded a test SVG file into a vanilla install of WordPress with the Twenty Twenty theme. I'm not sure if this plugin or WordPress was the problem but external images in the same folder weren't loaded. The developer just said go hire someone as you can't code... I just asked the developer if he could change the description if the plugin had problems. I'm happy to change the review but I can't say this is great or fantastic without proper documentation of what the plugin does in the summary. I came to this plugin's page because I wanted to try some other plugins. That's all. I hope the developer can find out what is happening and can see the sample code I left in the support forum. If this plugin can't load linked folders and the folders don't work even if they are manually uploaded into the same directory it's okay but it's just nice to say stuff like that in the description. This plugin helps upload SVG files but doesn't check if anything is linked to the files. Not sure if it sanitizes SVG code yet.
مارس 20, 2020
I tested out a few other SVG plugins....they either were ineffective, mildly buggy, or crashed my site. THIS plugin though...is not just stable, but it operates smoothly. And it is also not a resource hog. It is wonderful. I currently have he latest version of WordPress -- 5.3.2 -- and it works just fine, as of today. I have ajax, jquery, CSS, PHP...basically nothing super weird on my site. I love this plugin. Highly recommended.
Read all 12 reviews

Contributors & Developers

“WP SVG images” is open source software. The following people have contributed to this plugin.


Translate “WP SVG images” into your language.

Interested in development?

Browse the code, check out the SVN repository, or subscribe to the development log by RSS.



  • fix typo in last update


  • tested on WordPress 5.8
  • fix missing width and height for core/image block


  • allow SVG uploads only for administrators and editors


  • tested on WordPress 5.7


  • tested on WordPress 5.4


  • tested on WordPress 5.3


  • added support for Beaver Builder media uploader


  • tested on WordPress 5.0


  • fix SVG size as featured image


  • earlier upload_mimes filter init fix


  • svg sizing css removed because of many conflicts


  • fixed svg icon size in plugins updating listing


  • SVN commit problem


  • fixed svg icon size in plugins listing


  • convert svg width and height to float number [PX]


  • added svg width and height metadata


  • added svgz support
  • fixed svg thumbnails


  • repair count() error


  • 4.9 compatibility


  • added size calculation fix for wp_get_attachment_image_src


  • fix for WP4.7.1 bug


  • First version