Skip to main content
Participating Frequently
November 4, 2019
Answered

Validate SVG?

  • November 4, 2019
  • 4 replies
  • 51401 views

I edited an svg file and closed and saved it. When I tried reopening, "This SVG is Invalid. Validate it before opening" displayed. How do I validate it?

Correct answer christinet96142216

Convert file to PDF and/or back into SVG.

 

https://cloudconvert.com/

4 replies

christinet96142216Correct answer
Participant
April 7, 2022

Convert file to PDF and/or back into SVG.

 

https://cloudconvert.com/

Participant
May 12, 2022

Yeah this worked. But did noit need to convert to PDF, just converted my Illustrator SVG to SVG. Thanks!

Participant
July 20, 2020

Simple solution that worked for me:

Open the .svg file in DreamWeaver and change ‘https’ to ‘http’:

xmlns="https://www.w3.org/2000/svg"

xmlns="http://www.w3.org/2000/svg"

 

http://www.w3.org/2000/svg’ is a namespace and not used to open the link, so no problem to delete the ‘s’

Inspiring
January 20, 2020

The quickest work around this is to open the SVG in Corel Draw if you have it.
When open in corel draw, just copy the svg and paste it into illustrator.

I had the same issue and this was the quickest way to resolve it.

Participant
February 21, 2020

It also works to open the SVG in PowerPoint, then copy/paste it in Illustrator!  This is the easiest solution I've found.

Monika Gause
Community Expert
Community Expert
November 4, 2019

Use the W3C validator.

SVG is not suitable as a work file format in Illustrator

SVG is not suitable for roundtripping in Illustrator.

You have just experienced the reason why.

Participant
November 29, 2021

I have tried this. But there is no direction on how to use W3C validator. I go through the steps, but then it gives me the coding to the file. What the heck am I supposed to do with that? All of a sudden every file I have ever created on Illustrator says this error message. This is so frusterating. 

 

Monika Gause
Community Expert
Community Expert
November 29, 2021

When you validate it, it will give you a notification such as this one: