SVGO preset-default Explained
preset-default bundles SVGO's most broadly safe optimization plugins into a single recommended starting configuration.
Drop your image here
Supports PNG, JPG, BMP, WEBP up to 5MB
What preset-default Includes by Default
preset-default enables a curated set of plugins covering common safe optimizations like removing comments, collapsing groups, merging paths, and cleaning up redundant attributes, chosen specifically because they're broadly safe across most SVG files without requiring per-project customization to avoid visual regressions.
- Includes plugins for removing comments and collapsing unnecessary groups
- Includes plugins for merging paths and cleaning redundant attributes
- Chosen specifically for being broadly safe without requiring customization
Customizing preset-default with Overrides
Individual plugins within preset-default can be disabled or reconfigured using the overrides object in an SVGO config, such as setting removeViewBox to false to preserve responsive scaling, without needing to abandon the preset entirely and manually list every other plugin it would have included.
- The overrides object disables or reconfigures individual bundled plugins
- Setting removeViewBox to false preserves responsive scaling as one example
- Avoids needing to manually list every other plugin the preset already includes
Frequently Asked Questions
Is preset-default safe to use without any customization?
Generally yes, it's designed to be broadly safe for most SVG files, though projects relying on specific IDs or viewBox behavior may still want targeted overrides.
How do I disable one plugin within preset-default?
Use the overrides object in the SVGO config, setting the specific plugin name to false, which disables just that plugin while keeping the rest of the preset active.
Related guides
Ready to Convert Your Image to SVG?
Free online converter — no sign-up, no watermarks, results in under 3 seconds.
Try It Free — Convert Image to SVG