URL Encoder for SVG

We can use SVG in CSS via data URI, but without encoding it works only in Webkit based browsers. If encode SVG using encodeURIComponent() it will work everywhere.

SVG must have attribute xmlns like this: xmlns='http: //www.w3.org/2000/svg'. If it doesn't exist, it will be added automagically.

Encoded SVG can be used in background, in border-image or in mask

URL Encoder for SVG

Go to resource website

Tags

csssvguri
Loving Plus UI Design?

Your support really makes a big difference!
Thanks a latte! ☕✨

Buy me a coffee

Figma Plugins

Figma to React Bootstrap

Figma to React Bootstrap

Figma to Tailwind CSS

Figma to Tailwind CSS

File Thumbnails Generator

File Thumbnails Generator

PageGenius Pro

PageGenius Pro

QR Code Gen Z

QR Code Gen Z

SVG Patterns

SVG Patterns

Tech Stack & Design Stack Icons

Tech Stack & Design Stack Icons

UI Table Builder

UI Table Builder

TwitterFacebookInstagramPinterest

Plus UI Design 2020 - 2024

Designed & Coded by@keno_reloaded