Read
Parses attributes, inline styles, gradient stops, and CSS rules.
Upload an SVG file, detect every fill and stroke color, replace any of them with a new color, and download the updated SVG.
1. Upload SVG STAYS LOCAL
Your SVG never leaves your device. All parsing and editing happens in the browser.
2. Detected colors
Click a color to load it in the replace panel. Colored swatches reflect the current color after replacement.
3. Replace a color
Pick a color from the detected list, then choose a new color. Every occurrence of the original color across fills, strokes, inline styles, gradients, and CSS style blocks will be replaced.
4. Applied changes
Every SVG carries its colors inside the file — as fill, stroke, inline styles,
or inside a <style> block. This tool reads them, lets you change them, and writes a clean
new SVG. No design software, no uploads, no dependencies.
The SVG file is loaded into an in-memory DOM. The tool walks every element and reads its
fill, stroke, and inline style properties. It also scans any
<style> block for CSS rules. Any value that resolves to a color is collected
and its usage count is tracked.
Parses attributes, inline styles, gradient stops, and CSS rules.
Aggregates identical colors, showing how many elements use each one.
Swaps every occurrence — including named colors and CSS classes.
fill="#2563eb", fill="red"stroke="#ef4444"style="fill:#2563eb;stroke:#111827".cls-1 { fill: #2563eb; }<stop stop-color="#ff0000">flood-color, lighting-colorcurrentColor and var(--name) are skipped so theming keeps workingvar(--name) and currentColor values so you can still theme them later.No. The tool parses and modifies the SVG entirely in your browser using the DOM API. Nothing is sent anywhere.
Any valid SVG file — including SVGs exported from Figma, Illustrator, Sketch, Inkscape, and hand-written SVGs.
Yes. Colors inside <stop> elements of gradients are detected and can be replaced.
Yes — CSS rules inside <style> tags that define fill or stroke are detected and replaced. This is common in SVGs exported from Illustrator.
Values like fill="var(--primary)" and fill="currentColor" are preserved — the tool intentionally skips them so theming keeps working.
Yes. Each change appears in the "Applied changes" list. Click the × next to a change to revert it, or use "Reset all changes" to start over.
Yes. Click "Download SVG" to save the updated file with all applied changes.
No design software needed. Upload an SVG, detect every color, replace what you want, and download the updated file. Everything is private, fast, and works offline after the first load.