SVG to CSS Converter

Convert SVG code to CSS data URI. Encode SVG for use in CSS background, border-image, or mask properties.

SVG Input

CSS Output

CSS Usage Example

Background Image