DevToolBoxGRATIS
Blog

SVG to CSS Background Image Converter Online - Free Tool

Convert SVG code to CSS background-image using data URI encoding. Free online tool with URL-encode and base64 options.

background-image: url("data:image/svg+xml,%3Csvg width='100' height='100' viewBox='0 0 100 100' xmlns='http://www.w3.org/2000/svg'%3E %3Ccircle cx='50' cy='50' r='40' fill='%233b82f6' /%3E %3C/svg%3E");
data:image/svg+xml,%3Csvg width='100' height='100' viewBox='0 0 100 100' xmlns='http://www.w3.org/2000/svg'%3E %3Ccircle cx='50' cy='50' r='40' fill='%233b82f6' /%3E %3C/svg%3E

SVG to CSS Converter

Convert SVG graphics to CSS background-image inline styles using data URI encoding.

Features

  • URL-encode and Base64 encoding options
  • CSS property format selection
  • SVG optimization and minification
  • Real-time preview of SVG graphics
𝕏 Twitterin LinkedIn

Beoordeel deze tool

4.1 / 5 Β· 197 beoordelingen

Blijf op de hoogte

Ontvang wekelijkse dev-tips en nieuwe tools.

Geen spam. Altijd opzegbaar.

Enjoy these free tools?

β˜•Buy Me a Coffee