Paste an SVG icon and get ready-to-use Kotlin ImageVector code for Android Jetpack Compose.
Click below to load a sample Material-style SVG icon and see the generated Compose code.
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.
Instantly convert SVG icons to Android Jetpack Compose ImageVector Kotlin code.
No Android Studio plugins, no Gradle tasks — just paste your SVG and get clean, optimised Compose code
that you can drop straight into your project.
The conversion runs on our server and returns only the generated code. Your SVG data is not stored. See our Privacy Policy.
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.