← All text tools

SVG Colour Changer

Paste or load an SVG, see every fill, stroke and gradient stop colour it uses and replace each one or all at once, then copy or download the new SVG.

  • Free
  • No sign-up
  • Works on any device

About SVG Colour Changer

Icons and logos in SVG store colours as text in fill, stroke, stop-color and similar attributes, scattered across the file. This tool reads those values from attributes, style attributes and style blocks, understands hex codes, rgb(), hsl() and colour names, and lists each distinct colour with the number of times it is used. Pick a colour and give a new hex code, or use the colour pickers in the table, to replace it everywhere at once. Bulk options invert every colour, turn them grey or set them all to one colour. The recoloured code shows live and can be copied or downloaded.

How to use SVG Colour Changer

  1. Paste your SVG code, or load an .svg file. A small sample is already there to try.
  2. Choose a colour in the list and type its new hex code, use the picker in the table, or pick a bulk change for every colour.
  3. Check the preview, then copy the new SVG code or download the file.

Why use this tool?

Also known as

Frequently asked questions

Does it change colours set by CSS classes?

It handles colours in paint attributes, style attributes and style blocks that use the properties above. Colours defined elsewhere, for example through an external stylesheet, or values such as currentColor, are left unchanged and reported.

What happens to gradients?

The colours of a gradient stop are listed and replaced like any other. A fill that points to a gradient with url is left alone, so you recolour the gradient by changing its stop colours.

Is my SVG sent anywhere?

No. The code is processed in your browser. The preview is drawn as an image, which cannot run scripts, and your original text is never modified until you copy or download the new version.

Is SVG Colour Changer free?

Yes. SVG Colour Changer on Toolipedia is free to use, with no sign-up and no watermark.

Is it safe to use?

Yes. Everything is worked out in your browser, and nothing you enter is sent to our server.

Does it work on my phone?

Yes. It works in any modern browser on Android and iPhone, as well as on tablets and computers. There's nothing to install.

Do I need an account?

No. Just open the page and use the tool. There's no sign-up and no email needed.