# inloop/svg2android

SVG to Android VectorDrawable XML resource file

Repository: https://github.com/inloop/svg2android
Canonical: https://ross.abutalabs.com/products/svg2android
Homepage: http://inloop.github.io/svg2android
Language: JavaScript
License: Apache-2.0
License Family: permissive
Last push: 2024-01-09T16:50:50+00:00

## Health v2 (maintenance only)
Score: 32/100 (v2, computed 2026-09-03T02:20:16.233290+00:00)
- activity 0, release rhythm 35, longevity 100
- inputs: {"age_days": 4328, "days_push": 967, "days_rel": null, "gap_med": null, "n_releases_24m": 0}
- flags: no_releases
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 1724, forks 354 (observed 2026-08-28T04:05:27.966782+00:00)

## What it is
A JavaScript tool that converts SVG files into Android VectorDrawable XML resource files, available both as a browser-based converter and a CLI. It supports path, line, rect, circle, ellipse, polyline, and polygon elements but is now deprecated in favor of Android Studio's Vector Asset Studio.

## Use cases
- convert svg icons to android vectordrawable xml
- batch convert svg files for android res/drawable
- make one vector drawable for all screen densities
- import svg assets into an android project
- convert svg paths without uploading files to a server

## When to choose
- you need a quick offline browser-based SVG to VectorDrawable conversion
- you're on an older Android toolchain without Vector Asset Studio
- you want to script SVG conversion in a build pipeline

## When to avoid
- you use modern Android Studio - use the official Vector Asset Studio instead
- your SVGs contain text, gradients, patterns, or matrix transforms
- you need an actively maintained tool

## Facets
- artifact type: cli-tool
- maturity: abandoned
- function: parser, developer-tools
- domain: android-tools, graphics, mobile-development, developer-tools
- platform: cross-platform
- tags: svg, vectordrawable, android, converter, deprecated, web, nodejs

## Member repositories
- inloop/svg2android (main) score 32

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:05:27.966782+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-30T03:33:54.873442+00:00, confidence not recorded.
  - readme: https://github.com/inloop/svg2android (fetched 2026-08-28T04:05:27.966782+00:00, sha 3ab004154a8a)
  - homepage: http://inloop.github.io/svg2android (fetched 2026-08-29T11:09:43.047359+00:00, sha fd38b77370c0)
- Data as of 2026-08-30T08:39:29.467469+00:00.
