SVG to Android Vector Drawable
Convert SVG icons and graphics to Android Vector Drawable (AVD) format for use in Android apps — sharp at any screen density without multiple assets.
Drop your image here
Supports PNG, JPG, BMP, WEBP up to 5MB
What Is Android Vector Drawable?
Android Vector Drawable is Android's native vector format based on SVG path syntax but in XML format.
- Android's native scalable graphic format (API level 21+ / Android 5.0+)
- Based on SVG path syntax but wrapped in Android XML
- Supports: paths, groups, clip-paths, and VectorDrawableAnimator
- Does not support: SVG filters, gradients (limited in older API), pattern fills, or embedded images
- One file covers all screen densities: no mdpi/hdpi/xhdpi/xxhdpi variants needed
Converting SVG to Vector Drawable
Multiple tools convert SVG to Android Vector Drawable format.
- Android Studio: File > New > Vector Asset > Local SVG file — automatic conversion
- Command line: svg2vd tool (from Android Studio SDK) converts SVG to VectorDrawable XML
- Online: inloop.github.io/svg2android converts SVG to Android XML instantly
- Shape Shifter (shapeshifter.design): design and export AVD with animation support
- Limitations: complex SVG features (filters, gradients) may not convert — simplify SVG first
Frequently Asked Questions
Is SVG or VectorDrawable better for Android?
VectorDrawable is the Android native format and is required for use in Android XML layouts. SVGs are converted to VectorDrawable — you can't use SVG files directly in most Android projects.
Does Android support SVG directly?
Android doesn't support SVG natively in XML layouts. Third-party libraries (Glide with SVG plugin, Coil, SVG-Android) can load and render SVG files in Android apps.
What API level supports Vector Drawable?
VectorDrawable is supported in API 21+ (Android 5.0+). Use VectorDrawableCompat (via AppCompat) for support down to API 14.
Can VectorDrawable be animated?
Yes — AnimatedVectorDrawable allows path morphing, rotation, and other animations. Use Shape Shifter or Android Studio's animation editor to create animated vector drawables.
My SVG doesn't convert cleanly to VectorDrawable — what should I do?
Simplify the SVG first: remove filters, convert gradients to flat colors, expand strokes to fills, and ensure all paths are closed. Android Studio's import tool shows specific conversion warnings.
Related guides
Ready to Convert Your Image to SVG?
Free online converter — no sign-up, no watermarks, results in under 3 seconds.
Convert Image to SVG — Free