WordPress plugin intelligence profile

OH MY SVG

Unlock the magic of your website with the SVG block. Out-of-the-box security, dual storage modes, and turbocharged speed optimization!

WP PlugIndex snapshot

Current directory snapshot

Tested up to WordPress 6.9
Current version1.5.0
WordPress coverageTested up to WordPress 6.9
Minimum stackWP 5.7 · PHP 7.1
Directory statusactive
Last directory update25 Apr 20266mo ago
Active installations200Adoption metric — not a quality score
WordPress.org ratingNo WordPress.org ratings yet
Official packageDirect from WordPress.org

Repository metrics are context, not quality scores. Active installations measure adoption and can strongly reflect a plugin’s age and historical popularity. Ratings, recent updates and “Tested up to” metadata also do not guarantee modern code, error-free operation, security, feature completeness or suitability for a particular site. Why active installs don’t tell the whole story →

WP PlugIndex currently records OH MY SVG version 1.5.0 as active, updated 6mo ago and tested up to WordPress 6.9.

Overview

About this plugin

Enhance your WordPress website with the power of SVG images using the OH MY SVG plugin. Easily add, manipulate, and optimize SVG images directly within the Gutenberg block editor.

Unlike traditional image blocks, this plugin provides an intuitive interface that allows you to incorporate SVG icons, illustrations, or HTML snippets effortlessly. Experience the convenience of automatic markup sanitation, SVGO optimization, and a range of built-in utilities like color customization, stroke adjustments, and element stripping.

🌟 Smart Dual Storage Modes (New!)

One of the biggest issues with using SVGs in WordPress is database bloat. If you paste a heavy SVG directly into the editor, its entire XML markup gets saved into every single post revision, quickly cluttering your database. OH MY SVG solves this by offering two distinct storage modes:

  • Inline Mode (Best for tiny icons): The SVG markup is embedded directly within the page’s HTML. This drastically reduces page load time by eliminating server requests and conserving bandwidth. Ideal for small, lightweight vectors.
  • Media Library Mode (Best for heavy illustrations): To prevent database bloat, this mode saves the SVG behind the scenes as a custom post meta attached to the WordPress Media Library. The plugin automatically generates a lightweight PNG proxy image so you can see it in your media grid. On the front end, it renders cleanly using a data URI, keeping your post content light, your database clean, and your page performance high.

Unleash your creativity with endless possibilities—animate SVGs using CSS or JavaScript, modify inner colors, and scale infinitely without losing sharpness.

Svg are awesome because:

  • ✌️ Pixel Perfect: SVGs render sharply on any screen and resolution.
  • 🗄️ Zero Database Bloat: Choose to link heavy SVGs to the Media Library, keeping your post content and revisions lightweight.
  • 🎨 In-Editor Editing: Customize colors, add strokes, and remove fills to create variations directly in Gutenberg.
  • ⚡ Performance Boost: Use inline SVGs to save dozens of HTTP requests and reduce server download bandwidth.
  • 🛠️ Built-in Optimizer: Automatically compress and optimize markup using the integrated SVGO tool.
  • 🎉 Developer Friendly: Easy to animate with CSS and JavaScript since they render as DOM elements or standard image tags.

🔒 Security First

The OH MY SVG plugin prioritizes your website’s security. By default, WordPress blocks raw SVG file uploads due to severe XML/XSS vulnerabilities. This plugin keeps that protection intact.

svg uploads, our plugin safely processes the SVG markup within the editor using a robust JavaScript purifier (DOMPurify). When saving to the Media Library, it creates a harmless PNG proxy file and securely stores the sanitized SVG string as an attachment metadata field. , frontend forms); only trusted users with editor permissions can include them.

Inspirations, links

  • Mario Heiderich – the-image-that-called-me
  • Fortinet – Anatomy of Scalable Vector Graphics (Svg) Attack Surface on the Web

Resources

  • dompurify © 2015 Mario Heiderich, Apache License Version 2.0
  • svgo © 2021 Kir Belevich, MIT License

Contribute

We love your input! We want to make contributing to this project as easy and transparent as possible, whether it’s:

  • Reporting a bug
  • Discussing the current state, features, improvements
  • Submitting a fix 💯 or a new feature 🎉

We use GitHub to host code, to track issues and feature requests, as well as accept pull requests.

By contributing, you agree that your contributions will be licensed under its GPLv3 License.

WordPress.org metadata

Plugin tags

Topics listed for this plugin in the WordPress.org directory.

  • blocks
  • icon
  • performance
  • svg
  • vector
Compatibility & maintenance

Compatibility & maintenance

Tested up to WordPress 6.9

Not yet marked as tested with WordPress 7.1. WordPress.org currently lists Tested up to 6.9.

Current WordPress releaseWordPress 7.1
WordPress.org Tested up to6.9
Minimum requirementsWordPress 5.7 · PHP 7.1
Update activity25 Apr 20266mo ago

“Tested up to” is directory metadata supplied by the plugin author. WP PlugIndex does not turn an older declaration into a claim that the plugin is incompatible.

Changes recorded by WP PlugIndex

Recent tracked changes

No tracked version or compatibility changes have been recorded by WP PlugIndex yet.

Tracking & source

WP PlugIndex tracks public WordPress.org directory metadata and records selected version, compatibility and availability changes as they are detected.

Plugin watchlist

Watch this plugin

Sign in to your WP PlugIndex account or create a free account. Free accounts can watch up to 5 plugins and see what changed.

Watch limit

Watchlist limit reached

You have reached your current active watch limit.