# Base64 to SVG

> Base64 to SVG decodes an encoded vector graphic, such as an icon or logo found in a stylesheet, an HTML page or a design export, and gives it back to you…

Page: https://ishowpdf.com/tools/base64-to-svg

## What Base64 to SVG does

Base64 to SVG decodes an encoded vector graphic, such as an icon or logo found in a stylesheet, an HTML page or a design export, and gives it back to you as an editable .svg file.

It accepts plain Base64, a data:image/svg+xml;base64 link, and also the other kind of SVG data link where the markup is URL-encoded instead of Base64. The tool checks that the result really is SVG. If you paste a PNG or JPG by mistake, it says so and points you to Base64 to image.

## How to use Base64 to SVG

1. **Find the SVG data**: Copy it from your stylesheet, HTML or the app that produced it.
2. **Paste and decode**: Put it in the box and press Decode.
3. **Download the SVG**: Save decoded.svg and open it in a browser, a code editor or a vector drawing app.

## Questions

**How do I get an SVG out of a CSS background-image?**

Copy what is inside url( ) without the quotes, paste it here and decode. Both Base64 and URL-encoded SVG links work.

**Can I edit the SVG afterwards?**

Yes. SVG is plain text, so you can change colours, sizes or shapes in any code editor or vector app.

**Why was my data rejected?**

The decoded content did not start with an svg tag. It may be a raster picture such as PNG, or a different file type altogether.

**Does decoding happen online?**

No. The SVG is rebuilt in your browser and the text you paste is not uploaded.

More free tools: https://ishowpdf.com/tools
