Skip to content

Repository files navigation

Tiny Vector Drawable

Your vector drawables, but make them tiny.

Screenshot

Shrink Android VectorDrawable and AnimatedVectorDrawable XML right in your browser. Drop an .xml file, get an optimized one back. Nothing gets uploaded.

Powered by avocado compiled for the browser. Visual result stays the same — just smaller and faster to parse.

Quick start

  1. Open the site (GitHub Pages or run locally).
  2. Choose minified output for the smallest file, or pretty output for readable XML.
  3. Drag .xml vector drawable files onto the drop zone, or click to browse.
  4. Download one result or wait for the batch and download the .zip.

A batch can contain up to 100 files, 5 MB per file, and 25 MB in total. The layout works on mobile, and duplicate filenames get safe, unique names in the ZIP.

Run locally

make serve

Then open http://127.0.0.1:5173 in your browser (or set PORT). A static server is required for ES modules and the service worker.


Features & privacy · Build & architecture · MIT licensed

About

Your vector drawables, but make them tiny.

Resources

Stars

1 star

Watchers

0 watching

Forks

Sponsor this project

Used by

Contributors

Languages