BIMI SVG Validator
SVG validator, wordpress plugin
by Matthew Vernhout / BIMI Group · github.com/authindicators/bimi-svg-validator · website
Install
No release zip yet. The repository archive installs, but the folder name will carry the branch suffix and updates will not flow:
wp plugin install https://github.com/authindicators/bimi-svg-validator/archive/refs/heads/main.zipBIMI SVG Validator is a WordPress plugin that cleans and normalises SVG files for BIMI Tiny-PS use.
It is built for marketers, email deliverability teams, and brand teams that need practical help preparing BIMI logo files. Paste an SVG, add a title, run the validator, and copy the cleaned output.
What it does
Version 1.0.5 focuses on RNC-aligned SVG Tiny-PS cleanup. It does not simply check whether an SVG is valid. It repairs common issues found in exported logo files and reports what changed.
The front end includes:
- A title field for the required
<title>element. - A large SVG input box.
- A cleaned square SVG output box.
- A Copy Output button below the cleaned code.
- A collapsible More info report showing normalisations, removals, and warnings.
Shortcode
Add the validator to any WordPress page or post:
[bimi_svg_validator]
Key features
- Enforces
version="1.2"andbaseProfile="tiny-ps". - Ensures
xmlns="http://www.w3.org/2000/svg". - Normalises output to a square
viewBox. - Removes fixed
widthandheight. - Adds a required
<title>element. - Inlines simple class-based presentation styles before removing `