Change SVG Stroke Color

Recolor stroke on paths, shapes, and icons without rewriting every attribute by hand

CSS recipe? Stroke + CSScurrentColor? Use currentColor

FAQ

Quick answers

How do I change SVG stroke color online?
Paste or upload the SVG, then click Change stroke color. Outlines update in the source and live preview.
Does this change fill as well?
No. Only stroke / stroke attributes and inherited strokes are recolored. Fills stay as they are.
Can I use CSS or currentColor instead?
Yes. Open Change SVG Stroke Color with CSS, currentColor, React, or Tailwind for recipe-focused pages.
Need path-only or icon-only wording?
Use Change SVG Path Stroke Color or Change SVG Icon Stroke Color for narrower intents.
Stroke color with CSS → Stroke color with JS → Path stroke color → Icon stroke color →
Open full editor →

Source

Type or paste SVG markup. The preview on the right updates as you type.

Ready

Live preview

PNG export · 2× for retina