SVG to Vector Drawable

How to convert SVG, PNG, JPEG / JPG, GIF, BMP, TIFF / TIF images to Android vector drawable XML resource files?

  1. Open this page.
  2. Drag and drop your image files onto the page. Wait until conversion to Android vector drawables completes.
  3. Save ZIP archive with XML resource files or download each file separately.
  4. Unpack the archive and place the XML files into the res/drawable directory of your app.
  5. Reference to them in XML / Java / Kotlin code as you would do with ordinary drawables.