SVG files open in web browsers, image editors, and design software — which one you use depends on what you want to do with the file

An SVG file is a vector image, meaning it's made of shapes and lines rather than pixels. You can open it in your web browser (Chrome, Firefox, Safari, Edge) by dragging the file into the browser window or right-clicking it and selecting "Open with" and your browser name. This is the fastest way if you just want to look at it.

If you want to edit the SVG — change colors, move elements, add text — you'll need design software. Inkscape is free and works on Windows, Mac, and Linux. Adobe Illustrator is the professional standard but costs money. Figma is a browser-based design tool that also opens SVG files. For simpler edits, some image editors like GIMP (free) can open SVG files, though they're not ideal for this type of work.

Key Takeaways

  • Open an SVG in any web browser by dragging it into the window or right-clicking and selecting your browser from the "Open with" menu.
  • Use Inkscape (free) or Adobe Illustrator (paid) if you need to edit the SVG file and change its colors, shapes, or text.
  • Figma is a free browser-based option that lets you open, view, and edit SVG files without installing software.
  • Text editors like Notepad or VS Code can open SVG files to show you the code inside, useful if you're learning how SVG works.

Opening an SVG in your web browser

The simplest way to view an SVG is to open it in the web browser you already use. On Windows, right-click the SVG file, hover over "Open with," and select Chrome, Firefox, Edge, or Safari. On Mac, right-click (or Control-click), select "Open With," and choose your browser. The image will display in a new tab.

You can also drag and drop the SVG file directly into an open browser window. The file will load and display at its full size. This method works the same way on Windows and Mac. If the SVG is very large or very small, the browser will scale it to fit your screen.

Viewing in a browser is read-only — you can see the image but cannot change it. If you need to edit the file, you'll need different software.

Editing SVG files with free software

Inkscape is the most common free option for editing SVG files. Download it from inkscape.org for Windows, Mac, or Linux. Open Inkscape, go to File > Open, and select your SVG file. You can then change colors, move shapes, edit text, and add new elements. Inkscape is built specifically for vector graphics, so it handles SVG files better than general image editors.

If you prefer not to install software, Figma (figma.com) works in your web browser. Create a free account, click "New file," then go to File > Open and upload your SVG. Figma lets you edit the file and download it back as SVG when you're done. This is useful if you work on multiple computers or want to share edits with others.

GIMP (gimp.org) is a free image editor that can open SVG files, but it converts them to pixels as it opens them. This means you lose the ability to edit individual shapes cleanly. GIMP works better for photo editing than for SVG work.

Editing SVG files with paid software

Adobe Illustrator is the industry standard for vector design and handles SVG files perfectly. It costs about $23 per month as part of Adobe's Creative Cloud subscription. If you already use Photoshop or other Adobe tools, Illustrator integrates seamlessly with them.

CorelDRAW is another paid option (around $20 per month or $500 one-time purchase) that opens and edits SVG files. It's less common than Illustrator but works well for vector design.

Both of these programs are overkill if you only need to open an SVG occasionally. Use them if you do vector design regularly or need advanced features like color management or complex typography.

Opening SVG files in a text editor

SVG files are actually written in XML code, which is plain text. You can open any SVG file in Notepad (Windows), TextEdit (Mac), or a code editor like VS Code to see the code inside. Right-click the SVG file, select "Open with," and choose your text editor.

This is useful if you want to understand how SVG works or make very small changes to the code directly — for example, changing a color value or text content. Most people don't need to do this, but it's an option if you're learning web design or need to troubleshoot an SVG file.

If you edit the code in a text editor, save the file and then open it in a browser or design program to see your changes. Be careful not to break the code structure, or the SVG may not display correctly.

Troubleshooting when an SVG won't open

If your SVG file won't open in a browser, the file may be corrupted or the file extension may be wrong. Check that the filename ends in .svg (not .svgz, which is compressed). Try opening it in a different browser — sometimes one browser handles a particular SVG better than another.

If you're trying to open an SVG in design software and it won't load, the file may have been created in a newer version of the software than you have installed. Update your software or try opening it in a different program. Inkscape and Figma are usually the most forgiving with SVG files from different sources.

If the SVG displays but looks wrong — colors are missing, text is invisible, or shapes are distorted — the file itself may have issues. Try opening it in a text editor and looking for obvious problems in the code, or ask the person who created the file whether they have a corrected version.

Frequently Asked Questions

Can I open an SVG file on my phone?

Yes. On iPhone, use Safari to open the SVG file from email or cloud storage. On Android, use Chrome or Firefox. You can view the image but cannot edit it on a phone. For editing, you'll need a computer or a web-based tool like Figma accessed through your phone's browser.

What's the difference between SVG and PNG or JPG?

SVG is vector-based, so it scales to any size without losing quality. PNG and JPG are pixel-based and get blurry when enlarged. SVG files are usually smaller for logos and simple graphics but larger for photographs. Use SVG for logos and icons, PNG or JPG for photos.

Do I need to convert an SVG to another format?

Not usually. Most modern software and websites support SVG directly. If you need a PNG or JPG version, you can export it from Inkscape, Figma, or Illustrator by going to File > Export and choosing your format. This creates a new file without changing the original SVG.

Can I edit an SVG in Microsoft Word or Google Docs?

You can insert an SVG into a Word document or Google Doc, but you cannot edit it inside the document. The SVG will display as an image. To edit it, open the SVG in design software, make your changes, save it, and then re-insert it into your document.

Why won't my SVG file open in Windows Photo Viewer?

Windows Photo Viewer doesn't support SVG files. Use a web browser instead, or install free software like Inkscape or IrfanView. IrfanView can display SVG files and is lightweight if you just want to view them quickly.