SVG Gobbler: Open-Source SVG Finder, Optimizer, and Exporter
SVG Gobbler: An Open-Source Browser Extension to Find, Optimize, and Export SVGs
SVG Gobbler is an open-source browser extension designed to make SVGs discoverable, optimizable, and easily exportable from any webpage. Built to empower designers, developers, and curious web explorers, this tool strips away friction when you need scalable vector graphics fast—whether you’re collecting icons for a project, transforming SVGs into React components, or packing a set of assets into a sprite for reuse.
Overview and Purpose
SVG Gobbler functions as a bridge between raw on-page SVG assets and usable, production-ready formats. It recognizes SVGs across a variety of mime types and handles cross-origin restrictions with grace, so you can access assets that would otherwise be blocked by browser policies. The extension is designed with an eye toward practicality: find and rebuild sprite instances, export in multiple formats, transform to minified data URIs, and even convert SVGs into React components via SVGR. All of this is offered through a clean, organized interface that puts your workflow first.
Visual Identity and Access
- Logo and branding are presented prominently to establish trust and usability. The SVG Gobbler logo anchors the tool’s identity, ensuring users know they’re leveraging a purpose-built utility for SVG management.
- A screenshot illustrates the user interface and flow, giving new users a tangible sense of how the tool looks and behaves within a browser environment.
Key Features at a Glance
Find SVGs
- Discover SVG content on any webpage across various mime types. This makes it easier to locate icons and vector assets embedded in HTML, CSS, or inline markup.
- Handle CORs-restricted SVGs with ease, allowing you to access assets that might otherwise be blocked by cross-origin policies.
- Find and rebuild individual sprite instances, enabling you to assemble coherent icon sets from scattered SVGs rather than wrestling with separate files.
Export SVGs
- Create SVG sprites from a collection of icons, simplifying asset organization for web projects.
- Export in multiple formats: SVG, PNG, WEBP, JPEG, and more. This versatility supports different pipelines and usage scenarios.
- Transform SVGs into minified Data URIs, reducing file size and improving load performance for web apps.
- Convert SVGs to React components using SVGR, streamlining integration into modern front-end codebases.
- Optimize and minify SVGs with SVGO to shave off unnecessary metadata and attributes without sacrificing quality.
Organize SVGs
- Group and categorize SVGs by domain or a custom collection name, keeping assets neatly organized for teams or personal projects.
- Move, copy, duplicate, and optimize icons before sharing, supporting flexible workflows and collaboration.
- Save and store uploaded SVGs for ongoing optimization, so your assets stay lean over time.
A Friendly, Developer-First Experience
The tool is designed with a straightforward philosophy: empower users to manage vector assets efficiently without requiring deep configuration or server-side dependencies. The interface emphasizes quick access to assets, one-click exports, and minimal setup, so you can focus on what you do best—design, development, and experimentation.
Development Setup: How to Build and Run SVG Gobbler Locally
Prerequisites
- Node.js, the backbone of modern JavaScript development.
- pnpm, a fast, scalable package manager that handles monorepos and complex dependency graphs efficiently.
Getting Started
1) Clone the repository
- Command sequence:
- git clone https://github.com/yourusername/svg-gobbler.git
- cd svg-gobbler
2) Install dependencies
- Command:
- pnpm i
3) Start the development build
- Command:
- pnpm start
- What this does: builds assets to the dist folder and watches for changes so you can iterate quickly.
For subsequent builds:
- Command:
- pnpm dev
Optional server setup (for local fetch calls)
- Navigate to the server directory
- cd server
- Install, build, and run the server
- pnpm i
- pnpm build
- pnpm serve
- Note: This step is optional; most core functionality works without a separate server, but having a local server can be helpful for testing fetch calls in a controlled environment.
Firefox Development
- Build a release
- Command: pnpm release
- Launch in Firefox
- Command: pnpm dev-ff
- Rebuild on changes
- Command: pnpm release
Loading the Extension in Chrome
- Steps:
- Open chrome://extensions
- Enable "Developer mode" in the top right corner
- Click "Load unpacked" and select the dist folder
- This workflow makes it easy to test new builds in Chrome as you iterate on features and fixes.
Technologies Behind SVG Gobbler
SVG Gobbler is powered by a carefully chosen stack of open-source tools that support fast, reliable development and delightful user experiences:
- Vite: Frontend tooling and fast development/build processes
- CRXJS: Chrome extension build automation for packaging and distribution
- Tailwind CSS: Utility-first CSS framework for rapid, responsive styling
- SVGR: Transform SVGs into React components for seamless integration
- SVGO: SVG optimization to reduce file sizes
- CodeMirror: Extensible code editor for rich editing experiences
- Radix UI: Unstyled, accessible components to build polished UI
- JSZip: JavaScript library for creating ZIP files
- Mini SVG Data URI: SVG data URI minification
- React Router: Routing for React applications
- DND-Kit: Drag-and-drop toolkit for interactive interfaces
About SVG Gobbler
SVG Gobbler began over seven years ago as an ambitious project intended to improve upon the SVG Crowbar tool, which was once invaluable for pulling apart and reclaiming vector assets from the web. Since then, SVG Gobbler has evolved through multiple major versions, refining its approach to asset discovery, optimization, and export. The project remains focused on accessibility, performance, and developer experience, staying true to the ethos of open source and community collaboration.
Privacy: Respecting Your Data
A core principle of SVG Gobbler is privacy. The extension is open source and does not collect or transmit user information. It is offered as a free tool for the web community, built with a belief in respecting user autonomy and data sovereignty. You can inspect the source, contribute improvements, and use the extension without concerns about telemetry or hidden data collection.
Contributing: Join the Community
Contributions are welcome and encouraged. Whether you have bug fixes, feature ideas, or improvements to the documentation, you can help shape SVG Gobbler. The project thrives on open collaboration, code reviews, and thoughtful discussion about how to improve the tool for everyone who works with SVGs on the web.
How to Contribute
- Submit a Pull Request with your changes
- Open an Issue to report bugs, request features, or discuss ideas
- Engage with the community to share use cases and provide feedback
- Review others’ contributions and participate in constructive discussions
What’s Next? A Look at Future Possibilities
As SVG Gobbler continues to grow, the roadmap often focuses on expanding export formats, enhancing the find capabilities (e.g., more robust MIME-type handling, improved CORs workarounds), and refining performance for extremely large asset sets. The intention is to remain lightweight, fast, and accessible while offering powerful capabilities that professional designers and developers rely on daily. Expect continued improvements in:
- More export formats and better integration with popular design and development pipelines
- Enhanced sprite management, including advanced grouping and naming conventions
- Deeper integration with design tools and component libraries
- Expanded localization and accessibility enhancements for a broader audience
What You Can Do with SVG Gobbler Today
- Build a clean SVG library from a set of web assets, then optimize and export them for production use.
- Convert vector icons into React components to accelerate front-end development workflows.
- Create and manage SVG sprites for web applications, reducing HTTP requests and improving performance.
- Save and organize assets by domain or custom collections for easy retrieval.
- Revisit and refine old assets through ongoing optimization and re-packaging.
Visuals: Bringing the Tool to Life
- The SVG Gobbler logo anchors the project’s identity, serving as a recognizable symbol across docs, the browser extension, and promotional materials.
- A dedicated screenshot demonstrates the user interface and the experience of locating and exporting assets from a webpage.
- Additional visuals (where applicable) show how assets are grouped, how sprites are formed, and how various export formats look in practice.
Real-World Scenarios: How Designers Use SVG Gobbler
- A UI designer needs a cohesive set of icons for a new dashboard. They use SVG Gobbler to locate icons scattered across multiple pages, assemble them into a single sprite, optimize, and export as a ready-to-use React component library.
- A front-end developer wants to convert a collection of decorative SVGs into a React-friendly format. They leverage the SVGR integration to generate components directly from the on-page assets.
- A web designer is aiming to reduce page load times by converting a large set of inline SVGs into a lean Data URI approach. The extension’s minification and Data URI transformation capabilities make this process straightforward.
Bottom Line: A Tool Built with Care for the Web
SVG Gobbler is more than a feature list; it’s a thoughtful approach to handling scalable vector graphics in a way that respects developer workflows, performance considerations, and open-source values. It is designed to empower people to work with SVGs more efficiently, whether they are extracting icons for a design system, exporting assets for production, or building components for a modern React application. Its development philosophy centers on simplicity, speed, and accessibility, ensuring that users can get their tasks done without unnecessary friction.
Footer: Made with ❤️ by Ross Moody
- This project reflects a passion for building practical tools that help the web community thrive.
- The open-source model invites collaboration and ongoing improvement, fostering a vibrant ecosystem around SVGs and vector assets.
Images Included
- SVG Gobbler logo: SVG Gobbler logo
- SVG Gobbler screenshot: SVG Gobbler screenshot
Closing Thoughts
If you’re exploring ways to streamline your SVG workflow, SVG Gobbler offers a robust, flexible solution designed to grow with you. From the moment you install it through its installation instructions to your day-to-day tasks of discovering, optimizing, and exporting vector assets, the extension aims to make your life easier. Whether you’re building a design system, assembling iconography for a component library, or simply curating a set of assets for a project, SVG Gobbler provides a powerful set of tools in a friendly, accessible package. The combination of open-source transparency, practical features, and a developer-first mindset makes SVG Gobbler a compelling choice for anyone who works with SVGs on the web.
Enjoying this project?
Discover more amazing open-source projects on TechLogHub. We curate the best developer tools and projects.
Repository:https://github.com/rossmoody/svg-gobbler
GitHub - rossmoody/svg-gobbler: SVG Gobbler: Open-Source SVG Finder, Optimizer, and Exporter
SVG Gobbler is an open-source browser extension designed to make SVGs discoverable, optimizable, and easily exportable from any webpage....
github - rossmoody/svg-gobbler

