Inline the images your CSS references as data URIs. Paste a stylesheet (or drop the .css file), drop the images it uses, and every url() that matches an uploaded file by name is replaced — SVGs URL-encoded for size, everything else as Base64. Files over your size limit and references you didn't upload are left alone and listed. It's free, runs in your browser, and nothing is fetched or uploaded.
| File | Encoded as | Growth |
|---|---|---|
| SVG | URL-encoded | Usually small |
| PNG, JPG, GIF, WebP | Base64 | About +33% |
| WOFF2 / WOFF fonts | Base64 | About +33% |
By file name. url(img/icons/star.png) matches an uploaded star.png, whatever folder it came from.
No. Only files you drop in are used; other references stay as links and are listed.
URL-encoding keeps SVG mostly readable, is usually smaller, and compresses better.
No. Inline small ones; big images make the CSS heavy and can't be cached on their own. That's what the size limit is for.
No. Everything happens in your browser.
The converter finds every url() in the stylesheet — quoted or not, with query strings and hash fragments — and matches each to an uploaded file by its file name, ignoring the path. A matching file is replaced with a data URI; references with no matching upload are left exactly as written and listed, and nothing is ever fetched from the network, so the result only contains files you provided. A size limit, 10 KB by default, leaves larger files as normal links, because inlining grows them by a third and stops them being cached separately. SVGs are URL-encoded rather than Base64-encoded: only the handful of characters that break a URL are escaped and double quotes become single ones, which is typically smaller and compresses far better with gzip or Brotli. The report shows how many references were inlined, skipped for size or left unmatched, and the stylesheet's size before and after. Fonts can be inlined the same way.