The complete SVG solution for WordPress.
Securely upload SVGs to your media library with built-in sanitization — then render them inline to style and animate every element with plain CSS.
<img class="style-svg"
src="graphic.svg" />
That mark is a live inline SVG — hover it.
Everything you need for SVGs in WordPress
WordPress blocks SVG uploads out of the box. SVG Support enables them the right way — securely — and goes far beyond a simple unlock.
Security first
Built-in sanitization strips harmful code from every SVG on upload. Role-based restrictions and full MIME validation included.
Designer friendly
Render SVGs inline to style and animate every internal element with plain CSS. Custom class targeting, automatic dimensions.
Developer ready
Advanced mode, REST API support, extensive hooks and filters, and full Block Editor (Gutenberg) compatibility.
Fast & lean
Optional minification keeps files small. Front-end JavaScript only loads when you actually use Advanced Mode.
Works everywhere
Image blocks, Cover blocks, featured images, widgets, the Classic Editor, page builders, and multisite.
Free & open source
GPLv2 licensed, developed in the open on GitHub, and free forever — kept alive by community donations.
Up and running in minutes
Install & activate
Search “SVG Support” in Plugins → Add New, or grab it from WordPress.org. Activate it and you can upload SVGs immediately.
Upload SVGs like any image
Drop SVG files into your media library. They're automatically sanitized and work in Image blocks, Cover blocks, and as featured images.
Go inline for styling magic
Enable Advanced Mode and add the style-svg class to any image — the plugin swaps it for the real SVG code so you can target its internals with CSS.
<img class="style-svg" src="graphic.svg" />Tutorials
Everything you need to get the most out of SVG Support, from first upload to CSS animation.
Getting started
Install the plugin, upload your first SVG, and understand sanitization.
Inline rendering
Use the style-svg class to swap img tags for real SVG code.
Styling & animation
Target elements inside your SVGs with CSS and bring them to life.
Featured images
Use SVGs as featured images and render them inline per post.
Settings reference
Every option explained, from role restrictions to Force Inline.
FAQ & troubleshooting
Answers to the most common questions and quirks.
Free, open source, and built by one person.
SVG Support powers over a million websites and is maintained by a single developer since 2013. If it's useful to you, a donation genuinely helps keep it going.
Donate via PayPal1qF8r2HkTLifND7WLGfWmvxfXc9ze55DZ
0x599695Eb51aFe2e5a0DAD60aD9c89Bc8f10B54f4