Paste an SVG icon and get ready-to-use Kotlin ImageVector code for Android Jetpack Compose.
Recent conversions stay in this browser only. Clear them anytime.
Conversion data is sent only for processing. Browser history is local to this device.
Stored only in this browser.
Your recent SVG conversions will appear here.
All SVG path commands (M, L, H, V, C, S, Q, T, A, Z) are supported in both absolute and relative forms. Fill colors, stroke, opacity, and fill-rule (EvenOdd / NonZero) are preserved.
Use the converter above for the work. These short guides cover ImageVector exports, custom Compose icons, and path data details without crowding the tool.
ImageVector is Jetpack Compose's built-in vector graphic representation. It replaces Android's XML VectorDrawable format and lets you define icons directly in Kotlin with full type-safety.
Android Studio converts SVGs to XML VectorDrawable, not Compose ImageVector. This tool skips the XML step and gives you pure Kotlin code you can paste directly into your Compose project.
Currently we convert solid fills and strokes. Linear/radial gradients in SVG will be flattened. We recommend simplifying gradients in your SVG editor before converting.