There are many website to convert svg images to svg code. I used website it for easytoolskit. you can try. it is for image processing website, link