Paste SVG code, remap fill and stroke colors, and preview the change instantly — no design tool, no upload.
Load example
Searches for svg color changer, change svg color online, and svg recolor usually come from someone
who has a specific icon or logo and needs it in a specific
color, right now, without opening Illustrator or Figma. This
tool reads the actual fill and stroke attributes in your SVG markup and rewrites them directly, so
the color change is baked into the file you copy or download.
If an icon needs to change color at runtime — on hover, in
dark mode, or per theme — the better long-term approach is
CSS with fill: currentColor, covered in the SVG icon color with CSS guide. This tool is for the other, more common case: you know
the final color you want, and you want it saved directly
into the SVG file, for a logo upload, a static export, or
an icon that will never need to change color again.
Recolor a stock or generated icon to your exact brand hex before shipping it.
Many icon exports default to black or a single fill. Recolor once instead of editing source files.
Swap a dark fill for a light one (or vice versa) before dropping an icon onto a colored background.
Remap two or three specific colors in a logo without touching the rest of the artwork.
Change stroke color and weight together for line-style icon sets.
Toggle between original and recolored preview to confirm nothing else in the SVG changed.
Clean up an SVG's markup with the SVG optimizer before or after recoloring it, convert the result into a React/JSX component or a PNG, preview it in the SVG viewer, or browse icon collections for source icons to recolor.
fill="none" or stroke="none" are left alone on purpose, since that usually means the shape is intentionally invisible or stroke-only. If a color still won't change, it may be set via a CSS class or inline style attribute rather than a fill/stroke attribute — those aren't rewritten by this tool.fill: currentColor plus a color property) is best when an icon needs to change color dynamically at runtime — see the guide to changing SVG icon color with CSS. This tool is best when you want to bake a specific, final color into the SVG file itself, for example before uploading a logo or exporting a static asset.