# SVG Upload for WordPress

> Let chosen roles upload SVG images. Every file is sanitized (scripts, event handlers and external references removed) before it is saved. Part of…

TW-COR-24 Core


Let chosen roles upload SVG images. Every file is sanitized (scripts, event handlers and external references removed) before it is saved.

[Get it from $26 a year](https://togglework.app/pricing/#plans) [Try it in the demo](https://togglework.app/demo/)

SVG Upload

**Part number**
: TW-COR-24
**Section**
: [Core](https://togglework.app/features/core/)
**Settings**
: 1
**Starts**
: Switched off
**In plans**
: Every plan

## Why it matters

SVG logos and icons stay sharp at any size and are tiny, but WordPress blocks SVG uploads because an SVG file can contain scripts. Allowing them safely means cleaning every file before it is saved.

### What it does

- Lets the roles you choose upload SVG files.
- Sanitizes every SVG on upload: scripts, event handlers and external references are removed.

![SVG Upload settings screen in the Toggleworks WordPress plugin, showing Roles allowed to upload SVG](https://togglework.app/wp-content/themes/toggleworks-site/assets/img/parts/core-svg-upload.webp?v=1795524177)

The SVG Upload screen in wp-admin, where you switch it on and change its settings.

## Set it up

1. Switch SVG Upload on and allow only the roles that need it, usually Administrator.

## What you can set

Switch SVG Upload on in Toggleworks → Core, then adjust any of these. Each one starts with a default, so you can switch the part on first and fine-tune later.

- Roles allowed to upload SVG

## Good to know

- Files are sanitized either way, but only give upload rights to people you trust.

## One less plugin to install

SVG Upload does a job people often install a separate plugin for:

- SVG uploadsOften done with ASE

## Comes with 187 more parts

SVG Upload is one part of Toggleworks, a single plugin for security, speed, SEO, backups, email and store tools. Switch on what your site needs; the rest stays off and loads nothing.

[All 27 Core parts](https://togglework.app/features/core/)

### People also look for it as

- svg
- vector
- upload
- media
- logo
- icon

## Often switched on with it

- [Media Replace](https://togglework.app/features/core/media-replace/) — TW-COR-14 · Upload a new file over an existing media item. The ID and URL stay the same, so every link and embed keeps working. · Own screen in wp-admin
- [Image Optimizer](https://togglework.app/features/performance/image-optimizer/) — TW-PRF-08 · Save uploaded JPEG and PNG images as WebP or AVIF, set the compression quality and downscale huge uploads. Uses your server's… · 5 settings
- [AI Alt Text](https://togglework.app/features/ai/alt-text/) — TW-AI-05 · Write descriptive alt text for images automatically on upload, with a one-click button in the media library and a bulk tool for… · 4 settings
- [Admin Branding](https://togglework.app/features/white-label/admin-branding/) — TW-WHL-01 · Rebrand wp-admin: footer text, admin bar logo, a custom dashboard welcome box and a fixed color scheme. · 10 settings
- [Email Tweaks](https://togglework.app/features/email/email-tweaks/) — TW-EML-03 · Change the sender name and address, switch off noisy core notification emails, and give plain-text emails a branded HTML layout. · 9 settings
- [Image Sizes](https://togglework.app/features/performance/image-sizes/) — TW-PRF-10 · Stop generating image sizes the site never uses. Each upload creates fewer files, saving disk space and upload time. · 2 settings

## Questions

**Is SVG Upload included in every Toggleworks plan?**

Yes. Every plan includes all 188 parts, SVG Upload among them. Plans differ only in how many sites you can use them on, and staging or local copies of a site don’t count.

**Does SVG Upload slow my site down when it’s switched off?**

No. Every part starts switched off, and a part that is off loads none of its code. Switch on SVG Upload only if your site needs it.

**What if a setting locks me out?**

Add `define( 'TOGGLEWORKS_SAFE_MODE', true );` to wp-config.php. It pauses every part until you remove the line, and Tools → Recent changes lets you undo a change.

**Can I try SVG Upload before I buy?**

Yes. The [live demo](https://togglework.app/demo/) runs a WordPress site with Toggleworks in your browser, and every plan has a 14-day refund.

## Switch off the plugin pile.

All 188 parts, one license, updates and support. 14-day refund.

[Choose a plan](https://togglework.app/pricing/#plans) [Try the live demo](https://togglework.app/demo/)

---

Source: https://togglework.app/features/core/svg-upload/
